mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
compactor: fix error message of Revision compactor
Reorder the parameters so that Noticef can output the error properly.
This commit is contained in:
parent
04ec94f8d1
commit
0265457183
@ -105,7 +105,7 @@ func (t *Periodic) Run() {
|
||||
last = clock.Now()
|
||||
plog.Noticef("Finished auto-compaction at revision %d", rev)
|
||||
} else {
|
||||
plog.Noticef("Failed auto-compaction at revision %d (%v)", err, rev)
|
||||
plog.Noticef("Failed auto-compaction at revision %d (%v)", rev, err)
|
||||
plog.Noticef("Retry after %v", checkCompactionInterval)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user