Skip to content

Commit d3e1b14

Browse files
committed
small refactoring for deploy.azcli
Signed-off-by: Jianguo Ma <[email protected]>
1 parent 46ca413 commit d3e1b14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/cli/deploy.azcli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fi
6363
if [[ -z "$resourceGroupName" ]]; then
6464
echo "This script will look for an existing resource group, otherwise a new one will be created "
6565
echo "You can create new resource groups with the CLI using: az group create "
66-
echo "Enter a resource group name"
66+
echo "Enter a resource group name:"
6767
read resourceGroupName
6868
[[ "${resourceGroupName:?}" ]]
6969
fi
@@ -113,13 +113,13 @@ set +e
113113
az group show --name $resourceGroupName 1> /dev/null
114114

115115
if [ $? != 0 ]; then
116-
echo "Resource group with name" $resourceGroupName "could not be found. Creating new resource group.."
116+
echo "Resource group with name" $resourceGroupName "could not be found. Creating new resource group..."
117117
set -e
118118
(
119119
set -x
120120
az group create --name $resourceGroupName --location $resourceGroupLocation 1> /dev/null
121121
)
122-
else
122+
else
123123
echo "Using existing resource group..."
124124
fi
125125
resourceGroupLocation=$( az group show --name $resourceGroupName | jq -r '.location' )

0 commit comments

Comments
 (0)