mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Avoid redeclaration errors for kube-up.sh
This commit is contained in:
parent
2c64db5943
commit
c928c43a15
@ -23,9 +23,10 @@
|
|||||||
KUBERNETES_PROVIDER=${KUBERNETES_PROVIDER:-gce}
|
KUBERNETES_PROVIDER=${KUBERNETES_PROVIDER:-gce}
|
||||||
|
|
||||||
# Some useful colors.
|
# Some useful colors.
|
||||||
declare -r color_start="\033["
|
if [[ -z "${color_start-}" ]]; then
|
||||||
declare -r color_red="${color_start}0;31m"
|
declare -r color_start="\033["
|
||||||
declare -r color_yellow="${color_start}0;33m"
|
declare -r color_red="${color_start}0;31m"
|
||||||
declare -r color_green="${color_start}0;32m"
|
declare -r color_yellow="${color_start}0;33m"
|
||||||
declare -r color_norm="${color_start}0m"
|
declare -r color_green="${color_start}0;32m"
|
||||||
|
declare -r color_norm="${color_start}0m"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user