diff --git a/stx/lib/stx/command.py b/stx/lib/stx/command.py index 7ddb88357..12bc1a8e9 100644 --- a/stx/lib/stx/command.py +++ b/stx/lib/stx/command.py @@ -70,12 +70,6 @@ grep stx-' + dockername + ' | awk \'{print $1}\' ' def helm_release_exists(projectname): '''Check if the helm release exists''' - cmd = 'helm ls > /dev/null' - ret = subprocess.call(cmd, shell=True) - if ret: - logger.error('helm command failed, please check minikube env!') - sys.exit(1) - cmd = 'helm ls | grep ' + projectname ret = subprocess.getoutput(cmd) if ret: