mirror of https://github.com/k3s-io/k3s
Merge pull request #25770 from zmerlynn/fix_root_disk_size
Automatic merge from submit-queue Fix gce/util.sh:get-master-root-disk-size Fixes problem from #25670 ``` cluster/../cluster/../cluster/gce/util.sh: line 632: [: missing `]' ``` [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()pull/6/head
commit
bf8a513a6f
|
@ -629,7 +629,7 @@ function create-network() {
|
|||
# Sets:
|
||||
# MASTER_ROOT_DISK_SIZE
|
||||
function get-master-root-disk-size() {
|
||||
if [ "$NUM_NODES" -le "1000"]; then
|
||||
if [[ "${NUM_NODES}" -le "1000" ]]; then
|
||||
export MASTER_ROOT_DISK_SIZE="10"
|
||||
else
|
||||
export MASTER_ROOT_DISK_SIZE="50"
|
||||
|
|
Loading…
Reference in New Issue