providers/google: Fix reading account_file path

This commit is contained in:
Justin Campbell 2015-07-28 09:36:05 -04:00
parent 4764a556c0
commit 7884456c4b
1 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,6 @@ func (c *Config) loadAndValidate() error {
} }
contents = string(b) contents = string(b)
}
if err := parseJSON(&account, contents); err != nil { if err := parseJSON(&account, contents); err != nil {
return fmt.Errorf( return fmt.Errorf(
@ -79,6 +78,7 @@ func (c *Config) loadAndValidate() error {
contents, contents,
err) err)
} }
}
clientScopes := []string{ clientScopes := []string{
"https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute",