File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -342,15 +342,7 @@ function validate_persistent_volume_version() {
342342 local init_revision=$( < " $version_file " jq -r ' .revision' )
343343 local init_image=$( < " $version_file " jq -r ' .image' )
344344
345- # Check for mismatch: compare revisions, and images if both are set
346- local mismatch=false
347345 if [ " $init_revision " != " $REVISION " ]; then
348- mismatch=true
349- elif [ -n " $init_image " ] && [ -n " $IMAGE_NAME " ] && [ " $init_image " != " $IMAGE_NAME " ]; then
350- mismatch=true
351- fi
352-
353- if [ " $mismatch " = " true" ]; then
354346 echo " "
355347 echo " ${red}${bold} ╔══════════════════════════════════════════════════════════════════╗${clear} "
356348 echo " ${red}${bold} ║ ⚠️ VERSION MISMATCH WARNING ║${clear} "
You can’t perform that action at this time.
0 commit comments