Commit 83181014 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #54199 from jingax10/fix_scripts_branch

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix typos: replace SECONDARY-RANGE-NAME with SECONDARY_RANGE_NAME. **What this PR does / why we need it**: Without the fix, secondary_range_name in /etc/gce.conf in node will always be empty. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents c27444fe 4de8b47a
...@@ -239,7 +239,7 @@ EOF ...@@ -239,7 +239,7 @@ EOF
if [[ -n "${SECONDARY_RANGE_NAME:-}" ]]; then if [[ -n "${SECONDARY_RANGE_NAME:-}" ]]; then
use_cloud_config="true" use_cloud_config="true"
cat <<EOF >> /etc/gce.conf cat <<EOF >> /etc/gce.conf
secondary-range-name = ${SECONDARY-RANGE-NAME} secondary-range-name = ${SECONDARY_RANGE_NAME}
EOF EOF
fi fi
if [[ "${use_cloud_config}" != "true" ]]; then if [[ "${use_cloud_config}" != "true" ]]; then
......
...@@ -405,7 +405,7 @@ EOF ...@@ -405,7 +405,7 @@ EOF
if [[ -n "${SECONDARY_RANGE_NAME:-}" ]]; then if [[ -n "${SECONDARY_RANGE_NAME:-}" ]]; then
use_cloud_config="true" use_cloud_config="true"
cat <<EOF >> /etc/gce.conf cat <<EOF >> /etc/gce.conf
secondary-range-name = ${SECONDARY-RANGE-NAME} secondary-range-name = ${SECONDARY_RANGE_NAME}
EOF EOF
fi fi
if [[ "${use_cloud_config}" != "true" ]]; then if [[ "${use_cloud_config}" != "true" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment