Merge pull request #705 from 14rcole/kpod-save-config
Switch kpod save to use config
This commit is contained in:
commit
1deb9795c3
1 changed files with 5 additions and 1 deletions
|
@ -50,7 +50,11 @@ func saveCmd(c *cli.Context) error {
|
||||||
return errors.Errorf("need at least 1 argument")
|
return errors.Errorf("need at least 1 argument")
|
||||||
}
|
}
|
||||||
|
|
||||||
store, err := getStore(c)
|
config, err := getConfig(c)
|
||||||
|
if err != nil {
|
||||||
|
return errors.Wrapf(err, "could not get config")
|
||||||
|
}
|
||||||
|
store, err := getStore(config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue