Skip to content

Commit bd4ceb0

Browse files
committed
Move assignment of istioPrefix
1 parent c4f3fb8 commit bd4ceb0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

kubernetes/samples/scripts/common/utility.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,12 @@ function createFiles {
262262
exposeAdminNodePortPrefix="${disabledPrefix}"
263263
fi
264264

265+
if [ "${istioEnabled}" == "true" ]; then
266+
istioPrefix="${enabledPrefix}"
267+
else
268+
istioPrefix="${disabledPrefix}"
269+
fi
270+
265271
# For some parameters, use the default value if not defined.
266272
if [ -z "${domainPVMountPath}" ]; then
267273
domainPVMountPath="/shared"
@@ -401,12 +407,6 @@ function createFiles {
401407
logHomeOnPV=true
402408
fi
403409

404-
if [ "${istioEnabled}" == "true" ]; then
405-
istioPrefix="${enabledPrefix}"
406-
else
407-
istioPrefix="${disabledPrefix}"
408-
fi
409-
410410
# Generate the yaml file for creating the domain resource
411411
echo Generating ${dcrOutput}
412412

0 commit comments

Comments
 (0)