Merge pull request #693 from 14rcole/libkpod-config
add basic config struct to libkpod
This commit is contained in:
commit
13c874753c
16 changed files with 403 additions and 237 deletions
|
@ -60,7 +60,11 @@ var (
|
|||
)
|
||||
|
||||
func imagesCmd(c *cli.Context) error {
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue