Преглед на файлове

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