소스 검색

修改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
                     }
                 )