Skip to content

Commit 1422d78

Browse files
committed
update: function
1 parent 9784d87 commit 1422d78

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • components/operators/gpu-operator-certified/instance/components/aws-gpu-machineset
  • scripts/library

components/operators/gpu-operator-certified/instance/components/aws-gpu-machineset/ocp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ ocp_aws_machineset_clone_worker(){
129129

130130
ocp_aws_machineset_fix_storage(){
131131
MACHINE_SETS=${1:-$(oc -n openshift-machine-api get machineset -o name)}
132-
HD_SIZE=200
132+
HD_SIZE=${2:-200}
133133

134134
for machine_set in ${MACHINE_SETS}
135135
do

scripts/library/ocp_aws.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ocp_aws_machineset_clone_worker(){
6868

6969
ocp_aws_machineset_fix_storage(){
7070
MACHINE_SETS=${1:-$(oc -n openshift-machine-api get machineset -o name)}
71-
HD_SIZE=200
71+
HD_SIZE=${2:-200}
7272

7373
for machine_set in ${MACHINE_SETS}
7474
do

0 commit comments

Comments
 (0)