Skip to content

Commit

Permalink
Fix error message in Azure state backend (#12424)
Browse files Browse the repository at this point in the history
The error led me to try adding `resource_group` but the code wanted `resource_group_name`. This fixes the error message to match the code.
  • Loading branch information
ashb authored and stack72 committed Mar 4, 2017
1 parent 5aec853 commit 15097ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/remote/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func azureFactory(conf map[string]string) (Client, error) {
if !ok {
resourceGroupName, ok := conf["resource_group_name"]
if !ok {
return nil, fmt.Errorf("missing 'resource_group' configuration")
return nil, fmt.Errorf("missing 'resource_group_name' configuration")
}

var err error
Expand Down

0 comments on commit 15097ee

Please sign in to comment.