From 923a8bf1aa904c8f143b5079fa2632067df6669a Mon Sep 17 00:00:00 2001 From: George Kapetanakis Date: Wed, 25 Mar 2026 11:08:49 -0400 Subject: [PATCH] compatibility-versions: Move `kind-upgrade.sh` usage function to the top --- experiment/compatibility-versions/kind-upgrade.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/experiment/compatibility-versions/kind-upgrade.sh b/experiment/compatibility-versions/kind-upgrade.sh index a31a524b3d01..0e36f61b0e72 100755 --- a/experiment/compatibility-versions/kind-upgrade.sh +++ b/experiment/compatibility-versions/kind-upgrade.sh @@ -18,6 +18,13 @@ set -e set -o pipefail +usage() +{ + echo "usage: kind_upgrade.sh [-n|--name ]" + echo " [--no-control-plane] [--no-kubelet]" + echo "" +} + # Set default values CLUSTER_NAME=${CLUSTER_NAME:-kind} BUILD_MODE=${BUILD_MODE:-docker} @@ -104,13 +111,6 @@ update_control_plane(){ done } -usage() -{ - echo "usage: kind_upgrade.sh [-n|--name ]" - echo " [--no-control-plane] [--no-kubelet]" - echo "" -} - # Main TMP_DIR=$(mktemp -d -p /tmp kind-e2e-XXXXXX) echo "Created temporary directory: ${TMP_DIR}"