Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
Fix problem when upgrading a failed release
Browse files Browse the repository at this point in the history
  • Loading branch information
msiegenthaler authored Dec 1, 2017
1 parent 56ff431 commit cc1b0c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/out
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ fi
is_deployed() {
if [ -n "$1" ]; then
set +e
helm status --tiller-namespace $tiller_namespace $1 | grep "STATUS: DEPLOYED" > /dev/null
helm status --tiller-namespace $tiller_namespace $1 | grep "STATUS: " > /dev/null
if [ $? = 0 ]; then
# exists and is deployed
# exists
echo true
else
# not deployed at the moment
# does not exist
echo false
fi
set -e
Expand Down

0 comments on commit cc1b0c6

Please sign in to comment.