mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 03:03:40 +00:00
make more of the shell pass lints
This commit is contained in:
@@ -14,18 +14,18 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
|
||||
|
||||
if [[ ! -z "${1:-}" ]]; then
|
||||
if [[ -n "${1:-}" ]]; then
|
||||
export KUBE_GCE_ZONE="${1}"
|
||||
fi
|
||||
if [[ ! -z "${2:-}" ]]; then
|
||||
if [[ -n "${2:-}" ]]; then
|
||||
export MULTIZONE="${2}"
|
||||
fi
|
||||
if [[ ! -z "${3:-}" ]]; then
|
||||
if [[ -n "${3:-}" ]]; then
|
||||
export KUBE_DELETE_NODES="${3}"
|
||||
fi
|
||||
if [[ ! -z "${4:-}" ]]; then
|
||||
if [[ -n "${4:-}" ]]; then
|
||||
export KUBE_USE_EXISTING_MASTER="${4}"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user