Unverified Commit 968f4226 authored by megan07's avatar megan07 Committed by GitHub
Browse files

Merge pull request #29753 from hashicorp/megan_update_msg

update error message for invalid json
parents 765bff1d 9b9b26a3
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -143,7 +143,7 @@ func (b *Backend) configure(ctx context.Context) error {
}
if !json.Valid([]byte(contents)) {
return fmt.Errorf("contents of credentials are invalid json")
return fmt.Errorf("the string provided in credentials is neither valid json nor a valid file path")
}
credOptions = append(credOptions, option.WithCredentialsJSON([]byte(contents)))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment