e2e upgrade test: rename functions to match f0f7829934

These functions were renamed in
f0f7829934, but cluster/gce/upgrade.sh
was missed.
pull/564/head
Justin SB 2019-02-07 13:27:34 -05:00
parent 22b74dc67b
commit 28c34d8d71
No known key found for this signature in database
GPG Key ID: 8DEC5C8217494E37
1 changed files with 4 additions and 4 deletions

View File

@ -213,7 +213,7 @@ function setup-base-image() {
source "${KUBE_ROOT}/cluster/gce/${NODE_OS_DISTRIBUTION}/node-helper.sh"
# Reset the node image based on current os distro
set-node-image
set-linux-node-image
fi
}
@ -263,12 +263,12 @@ function prepare-node-upgrade() {
# TODO(zmerlynn): How do we ensure kube-env is written in a ${version}-
# compatible way?
write-node-env
write-linux-node-env
# TODO(zmerlynn): Get configure-vm script from ${version}. (Must plumb this
# through all create-node-instance-template implementations).
# through all create-linux-node-instance-template implementations).
local template_name=$(get-template-name-from-version ${SANITIZED_VERSION})
create-node-instance-template "${template_name}"
create-linux-node-instance-template "${template_name}"
# The following is echo'd so that callers can get the template name.
echo "Instance template name: ${template_name}"
echo "== Finished preparing node upgrade (to ${KUBE_VERSION}). ==" >&2