From 182c1a24e46f519033bf3d771ce3ff892677d1d2 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Wed, 8 Jul 2020 14:16:20 +0000 Subject: [PATCH] fix: install issue --- deploy/install-driver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/install-driver.sh b/deploy/install-driver.sh index 216a6010ab..b55a6de5a7 100644 --- a/deploy/install-driver.sh +++ b/deploy/install-driver.sh @@ -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" @@ -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 ..."