update incorrect migration log message

It can be upgrade or downgrade, so we should use word "updated" here.
This commit is contained in:
ahrtr
2022-03-10 04:25:47 +08:00
parent d578a86a59
commit 3ecd8d2364

View File

@@ -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
}