Fix indentation for yamlStringSettings

The indentation seemed messed up and didn't read well. This change fixes it.
This commit is contained in:
Pawan Rawal 2019-01-08 11:29:58 +11:00 committed by GitHub
parent 6d33b5a963
commit 08ec44ed04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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