From 70de22253acee0a2c36b01defcc00709a02e7cfe Mon Sep 17 00:00:00 2001 From: Ash Berlin Date: Sat, 4 Mar 2017 18:27:37 +0000 Subject: [PATCH] Fix error message in Azure state backend (#12424) 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. --- state/remote/azure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/remote/azure.go b/state/remote/azure.go index 759356e36..649111426 100644 --- a/state/remote/azure.go +++ b/state/remote/azure.go @@ -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