Parcourir la source

修改EndpointHealth的timeOfSample

locky il y a 1 an
Parent
commit
3a984835b3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
                     }
                 )