This commit is contained in:
Adrian Lanzafame 2019-06-07 02:14:34 +00:00 committed by GitHub
commit 5adc7a2cdc
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)
}
```