mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
datetime: Don't expect synced time in diagnostics inside VMs
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
57daf338c8
commit
ce23f07e92
1 file changed
+3
-1
@@ -82,7 +82,9 @@ class DateTimeApp(app_module.App):
|
||||
def diagnose(self):
|
||||
"""Run diagnostics and return the results."""
|
||||
results = super().diagnose()
|
||||
results.append(_diagnose_time_synchronized())
|
||||
if self._is_time_managed():
|
||||
results.append(_diagnose_time_synchronized())
|
||||
|
||||
return results
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user