#2258: remove unnecessary ntp server check

This commit is contained in:
Czar Echavez
2024-02-12 09:01:30 +00:00
parent 66a3e8d02c
commit da92d74236

View File

@@ -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")