repo: check for config in exists

This commit is contained in:
Łukasz Magiera
2019-07-24 13:20:00 +02:00
parent 81d7c30fac
commit 4fa9e45eb7
2 changed files with 12 additions and 1 deletions
+3
View File
@@ -31,6 +31,9 @@ var runCmd = &cli.Command{
ctx := lcli.ReqContext(cctx)
v, err := nodeApi.Version(ctx)
if err != nil {
return err
}
r, err := repo.NewFS(cctx.String(FlagStorageRepo))
if err != nil {