Skip to content

Commit

Permalink
removed extra if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamrayaprolu committed Jul 18, 2022
1 parent 07e0436 commit e0d1e42
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/kubeconfig_base64_decode.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#!/bin/bash
set -e


echo "KUBECONFIG_BASE64 - checking if set"
if [ -z "$KUBECONFIG_BASE64" ]; then
echo "KUBECONFIG_BASE64 not set. Skipping..."
exit 0
fi

# ensure dir exists
KUBE_CONFIG_DIR="$(dirname "$BITOPS_KUBE_CONFIG_FILE")"
if [ ! -d "$KUBE_CONFIG_DIR" ]; then
Expand Down

0 comments on commit e0d1e42

Please sign in to comment.