Add skip to log (#6014)

This commit is contained in:
terence tsao 2020-05-27 10:35:54 -07:00 committed by GitHub
parent 7be8942079
commit b7c856af6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ func (kv *Store) HistoricalStatesDeleted(ctx context.Context) error {
}
if historicalStateDeleted {
log.Warn("Regenerating and saving historical states. This may take a while.")
log.Warn("Regenerating and saving historical states. This may take a while. Skip this with --skip-regen-historical-states")
if err := kv.regenHistoricalStates(ctx); err != nil {
return errors.Wrap(err, "could not regenerate historical states, please retry")
}