Skip to content

Commit 33bc84b

Browse files
authored
Merge pull request #31 from krkn-chaos/k8s_namespace
fixing deploy
2 parents 5a0e48a + ea9f097 commit 33bc84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

krkn-visualize/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fi
139139
# Get environment values
140140
echo ""
141141
echo -e "\033[32mGetting environment vars...\033[0m"
142-
if [[ -z ${PROMETHEUS_URL} ]]; then
142+
if [[ -n ${PROMETHEUS_URL} ]]; then
143143
export PROMETHEUS_URL=${PROMETHEUS_URL:-""}
144144
export PROMETHEUS_BEARER=${PROMETHEUS_BEARER:-""}
145145
elif [[ $k8s_cmd == "oc" ]]; then

0 commit comments

Comments
 (0)