浏览代码

修改EndpointHealth的timeOfSample

locky 1 年之前
父节点
当前提交
3a984835b3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/deviceStatus.py

+ 1 - 1
controller/deviceStatus.py

@@ -598,7 +598,7 @@ class deviceStatus(TemplateView):
                         "value": {
                             "value": endpoint_health_value
                         },
-                        "timeOfSample": "2017-02-03T16:20:50.52Z",
+                        "timeOfSample": time_of_sample,
                         "uncertaintyInMilliseconds": 0
                     }
                 )