Fix indentation for yamlStringSettings (#651)

The indentation seemed messed up and didn't read well. This change fixes it.
This commit is contained in:
Pawan Rawal 2019-06-12 06:53:59 +10:00 committed by Steve Francia
parent ad5ed02fa4
commit 0c777cfac1

View file

@ -652,11 +652,11 @@ import (
func yamlStringSettings() string {
c := viper.AllSettings()
bs, err := yaml.Marshal(c)
if err != nil {
t.Fatalf("unable to marshal config to YAML: %v", err)
bs, err := yaml.Marshal(c)
if err != nil {
log.Fatalf("unable to marshal config to YAML: %v", err)
}
return string(bs)
return string(bs)
}
```