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

Commit cc1b0c6

Browse files
Fix problem when upgrading a failed release
1 parent 56ff431 commit cc1b0c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets/out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ fi
5757
is_deployed() {
5858
if [ -n "$1" ]; then
5959
set +e
60-
helm status --tiller-namespace $tiller_namespace $1 | grep "STATUS: DEPLOYED" > /dev/null
60+
helm status --tiller-namespace $tiller_namespace $1 | grep "STATUS: " > /dev/null
6161
if [ $? = 0 ]; then
62-
# exists and is deployed
62+
# exists
6363
echo true
6464
else
65-
# not deployed at the moment
65+
# does not exist
6666
echo false
6767
fi
6868
set -e

0 commit comments

Comments
 (0)