fix indentation of marshalling code sample

This commit is contained in:
Adrian Lanzafame 2018-10-26 17:05:42 +10:00 committed by GitHub
parent 62edee3196
commit fd8ee01d89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -625,11 +625,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)
}
```