From 68745a159f7494e5fdfb869de0f881a5e23e6e4c Mon Sep 17 00:00:00 2001 From: Mike Larah Date: Wed, 15 Jan 2020 16:15:59 +0000 Subject: [PATCH] Fix missing paren --- pkg/generator/testdata/azuredeploy-simple.json | 2 +- pkg/generator/testdata/azuredeploy.json | 2 +- pkg/template/cnab-arm-driver-template.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/generator/testdata/azuredeploy-simple.json b/pkg/generator/testdata/azuredeploy-simple.json index ca888e4..5496af0 100644 --- a/pkg/generator/testdata/azuredeploy-simple.json +++ b/pkg/generator/testdata/azuredeploy-simple.json @@ -201,7 +201,7 @@ }, { "name": "AZURE_STORAGE_CONNECTION_STRING", - "secureValue": "[concat('AccountName=', variables('cnab_azure_state_storage_account_name'), ';AccountKey=',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('cnab_azure_state_storage_account_name')), '2019-04-01').keys[0].value]" + "secureValue": "[concat('AccountName=', variables('cnab_azure_state_storage_account_name'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('cnab_azure_state_storage_account_name')), '2019-04-01').keys[0].value)]" }, { "name": "CNAB_PARAM_age", diff --git a/pkg/generator/testdata/azuredeploy.json b/pkg/generator/testdata/azuredeploy.json index 2fdd0fc..a612f9d 100644 --- a/pkg/generator/testdata/azuredeploy.json +++ b/pkg/generator/testdata/azuredeploy.json @@ -316,7 +316,7 @@ }, { "name": "AZURE_STORAGE_CONNECTION_STRING", - "secureValue": "[concat('AccountName=', variables('cnab_azure_state_storage_account_name'), ';AccountKey=',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('cnab_azure_state_storage_account_name')), '2019-04-01').keys[0].value]" + "secureValue": "[concat('AccountName=', variables('cnab_azure_state_storage_account_name'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('cnab_azure_state_storage_account_name')), '2019-04-01').keys[0].value)]" }, { "name": "CNAB_PARAM_age", diff --git a/pkg/template/cnab-arm-driver-template.go b/pkg/template/cnab-arm-driver-template.go index 9919036..eb2429c 100644 --- a/pkg/template/cnab-arm-driver-template.go +++ b/pkg/template/cnab-arm-driver-template.go @@ -127,7 +127,7 @@ func NewCnabArmDriverTemplate(bundleName string, bundleTag string, containerImag }, { Name: "AZURE_STORAGE_CONNECTION_STRING", - SecureValue: "[concat('AccountName=', variables('cnab_azure_state_storage_account_name'), ';AccountKey=',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('cnab_azure_state_storage_account_name')), '2019-04-01').keys[0].value]", + SecureValue: "[concat('AccountName=', variables('cnab_azure_state_storage_account_name'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('cnab_azure_state_storage_account_name')), '2019-04-01').keys[0].value)]", }, }, },