Skip to content

Commit

Permalink
[chore] replace jq empty query
Browse files Browse the repository at this point in the history
  • Loading branch information
Sooyoung Kim committed Oct 30, 2024
1 parent 5f5a332 commit 601a49d
Show file tree
Hide file tree
Showing 201 changed files with 233 additions and 225 deletions.
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/create-NLB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ resp=$(
}
}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/delete-NLB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ source ../init.sh

resp=$(
curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/nlb/${CONN_CONFIG[$INDEX,$REGION]}
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/delete-all-NLB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ source ../init.sh

resp=$(
curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/nlb
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/get-NLB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ source ../init.sh

resp=$(
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/nlb/${CONN_CONFIG[$INDEX,$REGION]}
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/health-NLB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ source ../init.sh

resp=$(
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/nlb/${CONN_CONFIG[$INDEX,$REGION]}/healthz
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/id-list-NLB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ echo "####################################################################"

source ../init.sh

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/$MCIID/nlb?option=id | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/$MCIID/nlb?option=id | jq '.'
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/list-NLB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ echo "####################################################################"

source ../init.sh

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/$MCIID/nlb | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/$MCIID/nlb | jq '.'
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/spider-get-NLB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ resp=$(
"ConnectionName": "${CONN_CONFIG[$INDEX,$REGION]}"
}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/test-addVM.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ resp=$(
}
}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/10.nlb/test-removeVM.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ resp=$(
}
}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/attach-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ source ../init.sh
curl -H "${AUTH}" -sX PUT http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/vm/${CONN_CONFIG[$INDEX,$REGION]}-1/dataDisk?option=attach -H 'Content-Type: application/json' -d \
'{
"dataDiskId": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'"
}' | jq ''
}' | jq '.'
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ echo "####################################################################"

source ../init.sh

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/vm/${CONN_CONFIG[$INDEX,$REGION]}-1/dataDisk?option=id | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/vm/${CONN_CONFIG[$INDEX,$REGION]}-1/dataDisk?option=id | jq '.'
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/available-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ echo "####################################################################"

source ../init.sh

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/vm/${CONN_CONFIG[$INDEX,$REGION]}-1/dataDisk | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/vm/${CONN_CONFIG[$INDEX,$REGION]}-1/dataDisk | jq '.'
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/create-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function CallTB() {
"name": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'",
"diskType": "default",
"diskSize": "77"
}' | jq ''
}' | jq '.'
}

#function create_dataDisk() {
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/delete-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function CallTB() {
echo "- Delete dataDisk in ${ResourceRegionNativeName}"

curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq ''
curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq '.'
}

#function delete_dataDisk() {
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/detach-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ source ../init.sh
curl -H "${AUTH}" -sX PUT http://$TumblebugServer/tumblebug/ns/$NSID/mci/${MCIID}/vm/${CONN_CONFIG[$INDEX,$REGION]}-1/dataDisk?option=detach -H 'Content-Type: application/json' -d \
'{
"dataDiskId": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'"
}' | jq ''
}' | jq '.'
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function CallTB() {
echo "- Delete dataDisk in ${ResourceRegionNativeName}"

curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX}?force=true | jq ''
curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX}?force=true | jq '.'
}

#function delete_dataDisk() {
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/get-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function CallTB() {
echo "- Get dataDisk in ${ResourceRegionNativeName}"

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq '.'
echo ""
}

Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/id-list-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
echo "## 11. dataDisk: List ID"
echo "####################################################################"

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk?option=id | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk?option=id | jq '.'
echo ""
#}

Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/inspect-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function CallTB() {
'{
"connectionName": "'${CONN_CONFIG[$INDEX,$REGION]}'",
"resourceType": "dataDisk"
}' | jq ''
}' | jq '.'
}

#function inspect_dataDisk() {
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/list-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
echo "## 11. dataDisk: List"
echo "####################################################################"

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/dataDisk | jq '.'
echo ""
#}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function CallSpider() {
"ConnectionName": "${CONN_CONFIG[$INDEX,$REGION]}"
}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
}

Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/spider-get-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function CallSpider() {
"ConnectionName": "${CONN_CONFIG[$INDEX,$REGION]}"
}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function CallSpider() {
}
}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function CallTB() {
"connectionName": "'${CONN_CONFIG[$INDEX,$REGION]}'",
"name": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'",
"cspResourceId": "vol-xxxx"
}' | jq ''
}' | jq '.'
}

#function register_dataDisk() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function CallTB() {
"connectionName": "'${CONN_CONFIG[$INDEX,$REGION]}'",
"name": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'",
"cspResourceId": ""
}' | jq ''
}' | jq '.'
}

#function register_dataDisk() {
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/test-upsize-dataDisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function CallTB() {
'{
"diskSize": "81",
"description": "UpsizeDataDisk() test"
}' | jq ''
}' | jq '.'
}

#function update_dataDisk() {
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/testAddAsso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
source ../common-functions.sh
getCloudIndex $CSP

curl -H "${AUTH}" -sX PUT http://$TumblebugServer/tumblebug/ns/$NSID/testAddObjectAssociation/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq ''
curl -H "${AUTH}" -sX PUT http://$TumblebugServer/tumblebug/ns/$NSID/testAddObjectAssociation/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq '.'
#}

#get_dataDisk
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/testDeleteAsso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
source ../common-functions.sh
getCloudIndex $CSP

curl -H "${AUTH}" -sX PUT http://$TumblebugServer/tumblebug/ns/$NSID/testDeleteObjectAssociation/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq ''
curl -H "${AUTH}" -sX PUT http://$TumblebugServer/tumblebug/ns/$NSID/testDeleteObjectAssociation/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq '.'
#}

#get_dataDisk
2 changes: 1 addition & 1 deletion src/testclient/scripts/11.dataDisk/testGetAssoCount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
source ../common-functions.sh
getCloudIndex $CSP

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/testGetAssociatedObjectCount/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/testGetAssociatedObjectCount/dataDisk/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq '.'
#}

#get_dataDisk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function CallTB() {
echo "- Unregister image in ${ResourceRegionNativeName}"

curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq ''
curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq '.'
}

#function unregister_image() {
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/12.customImage/get-customimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function CallTB() {
echo "- Get image in ${ResourceRegionNativeName}"

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} | jq '.'
echo ""
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
echo "## 6. customImage: List"
echo "####################################################################"

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage?option=id | jq '' #|| return 1
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage?option=id | jq '.' #|| return 1
#}

#list_customImage
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function CallTB() {
'{
"connectionName": "'${CONN_CONFIG[$INDEX,$REGION]}'",
"resourceType": "customImage"
}' | jq ''
}' | jq '.'
}

#function inspect_customImage() {
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/12.customImage/list-customimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
echo "## 6. customImage: List"
echo "####################################################################"

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage | jq '' #|| return 1
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage | jq '.' #|| return 1
#}

#list_customImage
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function CallTB() {
"connectionName": "'${CONN_CONFIG[$INDEX,$REGION]}'",
"name": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'",
"cspResourceId": "ami-04f77645a3b0b07c5"
}' | jq ''
}' | jq '.'
}

#function register_customImage() {
Expand Down
4 changes: 2 additions & 2 deletions src/testclient/scripts/13.k8scluster/add-k8snodegroup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ req=$(cat << EOF
"maxNodeSize": "${MaxNodeSize}"
}
EOF
); echo ${req} | jq ''
); echo ${req} | jq '.'

resp=$(
curl -H "${AUTH}" -sX POST http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster/${K8SCLUSTERID}/k8snodegroup -H 'Content-Type: application/json' -d @- <<EOF
${req}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ req=$(cat << EOF
"maxNodeSize": "${MaxNodeSize}"
}
EOF
); echo ${req} | jq ''
); echo ${req} | jq '.'


resp=$(
curl -H "${AUTH}" -sX PUT http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster/${K8SCLUSTERID}/k8snodegroup/${K8SNODEGROUPNAME}/autoscalesize -H 'Content-Type: application/json' -d @- <<EOF
${req}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""

Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ PROVIDERNAME="nhncloud"

resp=$(
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/checkNodeGroupsOnK8sCreation?providerName=${PROVIDERNAME}
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
10 changes: 6 additions & 4 deletions src/testclient/scripts/13.k8scluster/create-k8scluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ fi

K8SNODEGROUPNAME="ng${INDEX}${REGION}"

if [ "${CSP}" == "azure" ]; then
NODEIMAGEID="" # In azure, image designation is not supported
echo "CSP=${CSP}"
if [ "${CSP}" == "azure" ] || [ "${CSP}" == "nhncloud" ]; then
NODEIMAGEID="" # In azure, image designation is not supported
echo "NODEIMAGEID=${NODEIMAGEID}"
else
if [ -n "${CONTAINER_IMAGE_NAME[$INDEX,$REGION]}" ]; then
NODEIMAGEID="k8s-${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX}"
Expand Down Expand Up @@ -108,13 +110,13 @@ req=$(cat <<EOF
${K8SNODEGROUPLIST}
}
EOF
); echo ${req} | jq ''
); echo ${req} | jq '.'

resp=$(
curl -H "${AUTH}" -sX POST http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster -H 'Content-Type: application/json' -d @- <<EOF
${req}
EOF
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""

# nodeGroupList.Name: 12 or fewer characters in Linux, 8 or fewer characters in Windows, only lowercase
Expand Down
2 changes: 1 addition & 1 deletion src/testclient/scripts/13.k8scluster/delete-k8scluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ echo "K8SCLUSTERID=${K8SCLUSTERID}"

resp=$(
curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster/${K8SCLUSTERID}
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ echo "K8SCLUSTERID=${K8SCLUSTERID}"

resp=$(
curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster/${K8SCLUSTERID}?force=true
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ echo "K8SNODEGROUPNAME=${K8SNODEGROUPNAME}"

resp=$(
curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster/${K8SCLUSTERID}/k8snodegroup/${K8SNODEGROUPNAME}?force=true
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ REGIONNAME="ap-south-1"

resp=$(
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/availableK8sClusterVersion?providerName=${PROVIDERNAME}\&regionName=${REGIONNAME}
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/13.k8scluster/get-k8scluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ echo "K8SCLUSTERID=${K8SCLUSTERID}"

resp=$(
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster/${K8SCLUSTERID}
); echo ${resp} | jq ''
); echo ${resp} | jq '.'
echo ""
2 changes: 1 addition & 1 deletion src/testclient/scripts/13.k8scluster/list-k8scluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ source ../init.sh

echo "NSID: "${NSID}

curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster | jq ''
curl -H "${AUTH}" -sX GET http://$TumblebugServer/tumblebug/ns/$NSID/k8scluster | jq '.'
Loading

0 comments on commit 601a49d

Please sign in to comment.