Commit 6447e19b authored by ale's avatar ale

Fix metadb Service.New invocation

parent ad30ec3d
Pipeline #8011 passed with stages
in 1 minute and 22 seconds
......@@ -60,7 +60,7 @@ func (c *metadbCommand) Execute(ctx context.Context, f *flag.FlagSet, args ...in
return subcommands.ExitFailure
}
svc, err := mdbs.New(config.Driver, config.DBURI)
svc, err := mdbs.New(config.Driver, config.DBURI, config.MaxAgeDays)
if err != nil {
log.Printf("error: %v", err)
return subcommands.ExitFailure
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment