Skip to content

Commit 42f701b

Browse files
Update snippets/curl/get_nb_vmservers.sh
Co-authored-by: Rob Kennedy <kennedyri+github@gmail.com>
1 parent 96e0bbf commit 42f701b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/curl/get_nb_vmservers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ content_header='content-type:application/json'
8484
uri="$basepath/login"
8585
echo $uri
8686

87-
data=$(jq --arg name $username --arg pass $password --arg dname $domainname --arg dtype $domaintype \
87+
data=$(jq --arg name "$username" --arg pass "$password" --arg dname "$domainname" --arg dtype "$domaintype" \
8888
--null-input '{userName: $name, password: $pass}')
8989

9090
jwt=$(curl -k -X POST $uri -H $content_header -d "$data" | jq --raw-output '.token')

0 commit comments

Comments
 (0)