Merge pull request #10143 from cpuguy83/10129_marshal-indent_dockercfg

Make .dockercfg with json.MarshallIndent
This commit is contained in:
Jessie Frazelle 2015-01-17 14:18:45 -08:00
commit 693c9d4120

View file

@ -133,7 +133,7 @@ func SaveConfig(configFile *ConfigFile) error {
configs[k] = authCopy configs[k] = authCopy
} }
b, err := json.Marshal(configs) b, err := json.MarshalIndent(configs, "", "\t")
if err != nil { if err != nil {
return err return err
} }