Skip to content

Commit

Permalink
fix(upgrade, cstor-volume): fix cstor volume upgrade script 0.8.1 to …
Browse files Browse the repository at this point in the history
…0.8.2 (openebs#2598)

Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
  • Loading branch information
sai chaithanya authored and vishnuitta committed May 29, 2019
1 parent dde0d87 commit 006abf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/upgrades/0.8.1-0.8.2/cstor_volume_upgrade.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fi
cas_type=`kubectl get pv $pv -o jsonpath="{.metadata.annotations.openebs\.io/cas-type}"`
if [ $cas_type != "cstor" ]; then
echo "Cstor volume not found";exit 1;
elif [ $cas_type == "cstor"]; then
elif [ $cas_type == "cstor" ]; then
echo "$pv is a cstor volume"
else
echo "Volume is neither cstor or cstor"; exit 1;
Expand Down

0 comments on commit 006abf0

Please sign in to comment.