mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-26 04:40:19 +00:00
It may happen that both the git version and the remote version are broken/inaccessible. In this case the broken remote version would be used. To overcome this situation fall back to the constant CurrentKubernetesVersion. The alternative could be os.Exit(1). Also this change fixes Bazel-based unit tests in air-gapped environment.