Explorar o código

修改EndpointHealth的timeOfSample

locky hai 1 ano
pai
achega
3a984835b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
                     }
                 )