From 7884456c4b8352bd5fa786f230002c4c1a3c5ae4 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Tue, 28 Jul 2015 09:36:05 -0400 Subject: [PATCH] providers/google: Fix reading account_file path --- builtin/providers/google/config.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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{