Merge pull request #10143 from cpuguy83/10129_marshal-indent_dockercfg
Make .dockercfg with json.MarshallIndent
This commit is contained in:
commit
693c9d4120
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue