1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

ros config get shows default values

This commit is contained in:
Josh Curl
2016-03-31 21:31:46 -07:00
parent ecae451ad1
commit c0c8179813
12 changed files with 103 additions and 18 deletions

View File

@@ -211,7 +211,7 @@ func configGet(c *cli.Context) {
log.WithFields(log.Fields{"err": err}).Fatal("config get: failed to load config")
}
val, err := cfg.Get(arg)
val, err := cfg.GetIgnoreOmitEmpty(arg)
if err != nil {
log.WithFields(log.Fields{"cfg": cfg, "key": arg, "val": val, "err": err}).Fatal("config get: failed to retrieve value")
}