mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
providers/google: Fix error appending
This commit is contained in:
parent
903300ddcb
commit
86cc12268b
@ -87,9 +87,12 @@ ${file("filename.json")} instead.`)
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, err := os.Stat(value); os.IsNotExist(err) {
|
if _, err := os.Stat(value); err != nil {
|
||||||
errors = append(errors, err)
|
errors = append(errors,
|
||||||
fmt.Errorf("account_file path does not exist: %s", value)
|
fmt.Errorf(
|
||||||
|
"account_file path could not be read from '%s': %s",
|
||||||
|
value,
|
||||||
|
err))
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user