Преглед изворни кода

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