summaryrefslogtreecommitdiff
path: root/hack/lib
diff options
context:
space:
mode:
authorgy95 <guoyao17@huawei.com>2021-11-05 15:24:11 +0800
committergy95 <guoyao17@huawei.com>2021-11-05 15:24:11 +0800
commit21a9a2375ebf136b9225969ff6cffce5c164e84b (patch)
tree3a58f4068f6c6bc5cb5bd051a517223bb551d1a6 /hack/lib
parentMerge pull request #3260 from gy95/admit (diff)
downloadkubeedge-21a9a2375ebf136b9225969ff6cffce5c164e84b.tar.gz
replace go get with go install
Signed-off-by: gy95 <guoyao17@huawei.com>
Diffstat (limited to 'hack/lib')
-rwxr-xr-xhack/lib/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/lib/install.sh b/hack/lib/install.sh
index 7d56b0213..1861f887e 100755
--- a/hack/lib/install.sh
+++ b/hack/lib/install.sh
@@ -32,7 +32,7 @@ function check_kind {
command -v kind >/dev/null 2>&1
if [[ $? -ne 0 ]]; then
echo "installing kind ."
- GO111MODULE="on" go get sigs.k8s.io/kind@v0.11.1
+ GO111MODULE="on" go install sigs.k8s.io/kind@v0.11.1
if [[ $? -ne 0 ]]; then
echo "kind installed failed, exiting."
exit 1