Rename TimeSyncStatus() to TimeSynced() for API clarity

This commit is contained in:
2018-09-20 11:36:48 +02:00
parent 6534c51fe4
commit 13267b2d5a
3 changed files with 5 additions and 4 deletions

View File

@ -113,7 +113,7 @@ func updateThenReboot() {
defer updater.Close()
log.Println("checking time sync")
synced, err := updater.TimeSyncStatus()
synced, err := updater.TimeSynced()
if err != nil {
log.Fatal(err)
}