mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
SC2034 unused variable
yum_url appears unused. Verify it or export it. https://github.com/koalaman/shellcheck/wiki/SC2034 Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
1 parent
dda857ecfa
commit
08feb536f3
1 file changed
+3
-3
+3
-3
@@ -27,7 +27,7 @@ fi
|
||||
# HERE =========================================================
|
||||
url="https://test.docker.com/"
|
||||
apt_url="https://apt.dockerproject.org"
|
||||
yum_url="https://yum.dockerproject.org"
|
||||
#yum_url="https://yum.dockerproject.org"
|
||||
|
||||
docker_key="-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1
|
||||
@@ -112,11 +112,11 @@ done
|
||||
case "$mirror" in
|
||||
AzureChinaCloud)
|
||||
apt_url="https://mirror.azure.cn/docker-engine/apt"
|
||||
yum_url="https://mirror.azure.cn/docker-engine/yum"
|
||||
#yum_url="https://mirror.azure.cn/docker-engine/yum"
|
||||
;;
|
||||
Aliyun)
|
||||
apt_url="https://mirrors.aliyun.com/docker-engine/apt"
|
||||
yum_url="https://mirrors.aliyun.com/docker-engine/yum"
|
||||
#yum_url="https://mirrors.aliyun.com/docker-engine/yum"
|
||||
;;
|
||||
esac
|
||||
# HERE =========================================================
|
||||
|
||||
Reference in new issue
Block a user