mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Fix indentation for yamlStringSettings (#651)
The indentation seemed messed up and didn't read well. This change fixes it.
This commit is contained in:
parent
ad5ed02fa4
commit
0c777cfac1
1 changed files with 4 additions and 4 deletions
|
@ -654,7 +654,7 @@ func yamlStringSettings() string {
|
|||
c := viper.AllSettings()
|
||||
bs, err := yaml.Marshal(c)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to marshal config to YAML: %v", err)
|
||||
log.Fatalf("unable to marshal config to YAML: %v", err)
|
||||
}
|
||||
return string(bs)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue