diff --git a/channeldb/db.go b/channeldb/db.go index 7c7ead6b..1347a58f 100644 --- a/channeldb/db.go +++ b/channeldb/db.go @@ -29,7 +29,7 @@ const ( var ( // ErrDryRunMigrationOK signals that a migration executed successful, // but we intentionally did not commit the result. - ErrDryRunMigrationOK = errors.New("Dry run migration successful") + ErrDryRunMigrationOK = errors.New("dry run migration successful") ) // migration is a function which takes a prior outdated version of the database diff --git a/lnd.go b/lnd.go index 47cc4698..10514899 100644 --- a/lnd.go +++ b/lnd.go @@ -270,7 +270,7 @@ func Main(cfg *Config, lisCfg ListenerCfg, shutdownChan <-chan struct{}) error { ) switch { case err == channeldb.ErrDryRunMigrationOK: - ltndLog.Info("%v, exiting", err) + ltndLog.Infof("%v, exiting", err) return nil case err != nil: