providers/google: Fix reading account_file path
This commit is contained in:
parent
4764a556c0
commit
7884456c4b
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue