We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94a1f73 commit 8577da7Copy full SHA for 8577da7
1 file changed
support_bundle/get_support_bundle.sh
@@ -259,7 +259,7 @@ main() {
259
echo "The SECURE_API_KEY supplied is Unauthorized. Please check and try again. Return Code: ${RETVAL}"
260
exit 1
261
fi
262
- elif [[ "$BACKEND_VERSION" =~ ^(5) ]] || [[ "$BACKEND_VERSION" =~ ^(4) ]] || [[ "$BACKEND_VERSION" =~ ^(3) ]]; then
+ elif [[ "$BACKEND_VERSION" =~ ^(5|4|3)$ ]]; then
263
if [[ "$API_LOCAL" == "true" ]]; then
264
kubectl ${CONTEXT_OPTS} ${KUBE_OPTS} port-forward service/sysdigcloud-api 8080 > /dev/null 2>&1 &
265
0 commit comments