We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb219e commit c1b54b6Copy full SHA for c1b54b6
hack/cleanup-ag.sh
@@ -77,7 +77,7 @@ main() {
77
CS_AG_ID=$(_kubectl get cloudstackaffinitygroup $ag | jq -r '.spec.id')
78
CS_AG_VMS=$(_cmk list affinitygroups id=$CS_AG_ID | jq -r '.affinitygroup[0].virtualmachineIds')
79
if [[ "$CS_AG_VMS" == "null" ]]; then
80
- echo "Found Affinity Group ($CS_AG_ID) with no instances assigned:" $ag
+ echo "[info] Found Affinity Group ($CS_AG_ID) with no instances assigned:" $ag
81
if [[ "$DRY_RUN" == "false" ]]; then
82
_kubectl delete cloudstackaffinitygroup $ag
83
echo "[info] Affinity Group ($CS_AG_ID) $ag has been removed"
0 commit comments