Unverified Commit ada14564 authored by Chris Kim's avatar Chris Kim Committed by GitHub

Update etcd snapshot error message to be more informative when etcd database is not found (#3568)

Signed-off-by: 's avatarChris Kim <oats87g@gmail.com>
parent a62d1439
...@@ -89,7 +89,7 @@ func run(app *cli.Context, cfg *cmds.Server) error { ...@@ -89,7 +89,7 @@ func run(app *cli.Context, cfg *cmds.Server) error {
return err return err
} }
if !initialized { if !initialized {
return errors.New("managed etcd database has not been initialized") return fmt.Errorf("etcd database not found in %s", dataDir)
} }
cluster := cluster.New(&serverConfig.ControlConfig) cluster := cluster.New(&serverConfig.ControlConfig)
......
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