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-02-17 12:58:58 +11:00 committed by GitHub
parent d104d259b3
commit ee84613512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -630,11 +630,11 @@ import (
func yamlStringSettings() string { func yamlStringSettings() string {
c := viper.AllSettings() c := viper.AllSettings()
bs, err := yaml.Marshal(c) bs, err := yaml.Marshal(c)
if err != nil { 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) return string(bs)
} }
``` ```