mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-22 15:09:39 +00:00
Addressed review comments.
This commit is contained in:
@@ -52,8 +52,8 @@ function pull_installer() {
|
||||
|
||||
function ensure_files() {
|
||||
kube::log::status "Ensure provider is supported"
|
||||
if [[ "${KUBERNETES_PROVIDER:-}" != "gce" ]]; then
|
||||
echo "Supported providers: \"gce\""
|
||||
if [[ "${KUBERNETES_PROVIDER:-}" != "gce" && "${KUBERNETES_PROVIDER:-}" != "gke" ]]; then
|
||||
echo "Supported providers: \"gce\", \"gke\""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user