diff --git a/builtin/providers/google/config.go b/builtin/providers/google/config.go index 409443fdb..838966528 100644 --- a/builtin/providers/google/config.go +++ b/builtin/providers/google/config.go @@ -71,13 +71,13 @@ func (c *Config) loadAndValidate() error { } contents = string(b) - } - if err := parseJSON(&account, contents); err != nil { - return fmt.Errorf( - "Error parsing account file '%s': %s", - contents, - err) + if err := parseJSON(&account, contents); err != nil { + return fmt.Errorf( + "Error parsing account file '%s': %s", + contents, + err) + } } clientScopes := []string{