mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-25 06:13:03 +02:00
Using Sprintf to convert from int64 to string of digits
This commit is contained in:
@@ -394,7 +394,7 @@ func ExecuteSchedules(tick int) {
|
||||
log.Println(taskAutoBackup())
|
||||
} else {
|
||||
|
||||
log.Println("Last backup is " + string(secondsSinceLastBackup) + " seconds old (less than 1 hour ago), skipping auto backup...")
|
||||
log.Println("Last backup is " + fmt.Sprint(secondsSinceLastBackup) + " seconds old (less than 1 hour ago), skipping auto backup...")
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user