#2258: remove unnecessary ntp server check
This commit is contained in:
@@ -132,7 +132,6 @@ class NTPClient(Service):
|
|||||||
super().apply_timestep(timestep)
|
super().apply_timestep(timestep)
|
||||||
if self.operating_state == ServiceOperatingState.RUNNING:
|
if self.operating_state == ServiceOperatingState.RUNNING:
|
||||||
# request time from server
|
# request time from server
|
||||||
if self.ntp_server is not None:
|
|
||||||
self.request_time()
|
self.request_time()
|
||||||
else:
|
else:
|
||||||
self.sys_log.debug(f"{self.name} ntp client not running")
|
self.sys_log.debug(f"{self.name} ntp client not running")
|
||||||
|
|||||||
Reference in New Issue
Block a user