mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-01 16:21:06 +00:00
providers/google: Fix reading account_file path
This commit is contained in:
parent
86cc12268b
commit
c1c904ce9e
12
config.go
12
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{
|
||||
|
Loading…
Reference in New Issue
Block a user