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
809b0d71a3
commit
06365b6008
@ -82,7 +82,7 @@ func (t *Revision) Run() {
|
||||
previous = rev
|
||||
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