providers/google: Return if we could parse JSON

This commit is contained in:
Clint Shryock 2015-07-27 17:06:48 -04:00 committed by Justin Campbell
parent 77eebcc03e
commit 903300ddcb

View File

@ -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
support will be removed in the future. Please update your configuration to use
${file("filename.json")} instead.`)
} else {
return
}