Merge pull request #705 from 14rcole/kpod-save-config

Switch kpod save to use config
This commit is contained in:
Mrunal Patel 2017-07-28 13:51:31 -07:00 committed by GitHub
commit 1deb9795c3

View file

@ -50,7 +50,11 @@ func saveCmd(c *cli.Context) error {
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 {
return err
}