Cockroach Store bugfix (#1401)

This commit is contained in:
Jake Sanders
2020-03-24 17:16:38 +00:00
committed by GitHub
parent eb4d2ae6aa
commit 397a8638f4
2 changed files with 3 additions and 6 deletions

View File

@@ -616,7 +616,7 @@ func (c *cmd) Before(ctx *cli.Context) error {
}
if len(ctx.String("store_namespace")) > 0 {
if err := (*c.opts.Store).Init(store.Namespace(ctx.String("store_address"))); err != nil {
if err := (*c.opts.Store).Init(store.Namespace(ctx.String("store_namespace"))); err != nil {
logger.Fatalf("Error configuring store: %v", err)
}
}