providers/google: Return if we could parse JSON
This commit is contained in:
parent
773852e2d5
commit
8faa111156
|
@ -83,7 +83,7 @@ func validateAccountFile(v interface{}, k string) (warnings []string, errors []e
|
||||||
account_file is not valid JSON, so we are assuming it is a file path. This
|
account_file is not valid JSON, so we are assuming it is a file path. This
|
||||||
support will be removed in the future. Please update your configuration to use
|
support will be removed in the future. Please update your configuration to use
|
||||||
${file("filename.json")} instead.`)
|
${file("filename.json")} instead.`)
|
||||||
|
} else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue