Skip to content

Commit 8577da7

Browse files
Daniele De Lorenzimbreitung
authored andcommitted
Update support_bundle/get_support_bundle.sh
Co-authored-by: Mark Breitung <mark.breitung@sysdig.com>
1 parent 94a1f73 commit 8577da7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

support_bundle/get_support_bundle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ main() {
259259
echo "The SECURE_API_KEY supplied is Unauthorized. Please check and try again. Return Code: ${RETVAL}"
260260
exit 1
261261
fi
262-
elif [[ "$BACKEND_VERSION" =~ ^(5) ]] || [[ "$BACKEND_VERSION" =~ ^(4) ]] || [[ "$BACKEND_VERSION" =~ ^(3) ]]; then
262+
elif [[ "$BACKEND_VERSION" =~ ^(5|4|3)$ ]]; then
263263
if [[ "$API_LOCAL" == "true" ]]; then
264264
kubectl ${CONTEXT_OPTS} ${KUBE_OPTS} port-forward service/sysdigcloud-api 8080 > /dev/null 2>&1 &
265265

0 commit comments

Comments
 (0)