mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
update incorrect migration log message
It can be upgrade or downgrade, so we should use word "updated" here.
This commit is contained in:
@@ -60,7 +60,7 @@ func (p migrationPlan) unsafeExecute(lg *zap.Logger, tx backend.BatchTx) (err er
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
lg.Info("upgraded storage version", zap.String("new-storage-version", s.target.String()))
|
||||
lg.Info("updated storage version", zap.String("new-storage-version", s.target.String()))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user