Skip to content

Commit

Permalink
fix: install issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Jul 8, 2020
1 parent 9066028 commit 182c1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/install-driver.sh
Expand Up @@ -21,7 +21,7 @@ if [[ "$#" -gt 0 ]]; then
ver="$1"
fi

repo="https://raw.githubusercontent.com/kubernetes-sigs/azuredisk-csi-driver/master/deploy"
repo="https://raw.githubusercontent.com/kubernetes-sigs/azuredisk-csi-driver/$ver/deploy"
if [[ "$#" -gt 1 ]]; then
if [[ "$2" == *"local"* ]]; then
echo "use local deploy"
Expand All @@ -30,7 +30,7 @@ if [[ "$#" -gt 1 ]]; then
fi

if [ $ver != "master" ]; then
repo="$repo/$ver"
repo="$repo/$ver"
fi

echo "Installing Azure Disk CSI driver, version: $ver ..."
Expand Down

0 comments on commit 182c1a2

Please sign in to comment.