From f7f6a842e330b8b24105fb4dd03c58d40e92ba5b Mon Sep 17 00:00:00 2001 From: Abhinay Kumar Date: Wed, 15 Aug 2018 08:53:50 +0530 Subject: [PATCH] bug-fix: syntax error in createApplication() setup throws an error: `az: error: unrecognized arguments: az ad app list` due to a syntax error in `createApplication()` method. This patch will fix the issue of the same. --- contrib/azure-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/azure-setup.sh b/contrib/azure-setup.sh index 6473c5a08..200469073 100755 --- a/contrib/azure-setup.sh +++ b/contrib/azure-setup.sh @@ -156,7 +156,7 @@ createApplication() { if [ "$azure_client_id" != "" ]; then echo "==> application already exist, grab appId" - azure_client_id=$(az ad app list az ad app list --output json | jq -r '.[] | select(.displayName | contains("'$meta_name'")) .appId') + azure_client_id=$(az ad app list --output json | jq -r '.[] | select(.displayName | contains("'$meta_name'")) .appId') else echo "==> application does not exist" azure_client_id=$(az ad app create --display-name $meta_name --identifier-uris http://$meta_name --homepage http://$meta_name --password $azure_client_secret --output json | jq -r .appId)