Skip to content

Commit

Permalink
providers/google: Fix reading account_file path
Browse files Browse the repository at this point in the history
  • Loading branch information
justincampbell committed Jul 29, 2015
1 parent 4764a55 commit 7884456
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions builtin/providers/google/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 7884456

Please sign in to comment.