Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kostin committed Dec 29, 2023
1 parent d127d79 commit 1189360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (b *Backuper) Watch(watchInterval, fullInterval, watchBackupNameTemplate, t
b.log.Infof("Time before do backup %v", timeBeforeDoBackup)
b.log.Infof("Time before do full backup %v", timeBeforeDoFullBackup)
if timeBeforeDoBackup > 0 && timeBeforeDoFullBackup > 0 {
b.log.Infof("Wainting %d seconds until continue doing backups due watch interval", timeBeforeDoBackup)
b.log.Infof("Waiting %d seconds until continue doing backups due watch interval", timeBeforeDoBackup)
time.Sleep(b.cfg.General.WatchDuration - now.Sub(lastBackup))
}
now = time.Now()
Expand Down

0 comments on commit 1189360

Please sign in to comment.