File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
operator/src/main/resources/scripts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -723,7 +723,7 @@ function checkAuxiliaryImage() {
723
723
724
724
# The container .out files embed their container name, the names will sort in the same order in which the containers ran
725
725
out_files=$( ls -1 $AUXILIARY_IMAGE_PATH /auxiliaryImageLogs/* .out 2> /dev/null | sort --version-sort)
726
- if [ -z ${out_files} ]; then
726
+ if [ -z " ${out_files} " ]; then
727
727
trace SEVERE " Auxiliary Image: Assertion failure. No files found in '$AUXILIARY_IMAGE_PATH /auxiliaryImageLogs/*.out'"
728
728
return 1
729
729
fi
@@ -744,7 +744,7 @@ function checkAuxiliaryImage() {
744
744
trace " Auxiliary Image: End of '${out_file} ' contents"
745
745
done
746
746
[ " ${severe_found} " = " true" ] && return 1
747
- [ -z " $( ls -A $AUXILIARY_IMAGE_PATH ) " ] \
747
+ [ -z " $( ls -A $AUXILIARY_IMAGE_PATH 2> /dev/null | grep -v auxiliaryImageLogs ) " ] \
748
748
&& trace SEVERE " Auxiliary Image: No files found in '$AUXILIARY_IMAGE_PATH '. " \
749
749
" Do your auxiliary images have files in their '$AUXILIARY_IMAGE_PATH ' directories? " \
750
750
" This path is configurable using the domain resource 'spec.auxiliaryImageVolumes.mountPath' attribute." \
You can’t perform that action at this time.
0 commit comments