File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive
operator/integration-tests/model-in-image/mii-sample-wrapper Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,8 @@ private String buildiWitCommand() {
100
100
+ " update "
101
101
+ " --tag " + params .modelImageName () + ":" + params .modelImageTag ()
102
102
+ " --fromImage " + params .baseImageName () + ":" + params .baseImageTag ()
103
- + " --wdtDomainType " + params .domainType ();
104
-
105
- if (params .domainType ().equals ("WLS" )) {
106
- command += " --chown oracle:root" ;
107
- }
103
+ + " --wdtDomainType " + params .domainType ()
104
+ + " --chown oracle:root" ;
108
105
109
106
if (params .wdtModelOnly ()) {
110
107
command += " --wdtModelOnly " ;
Original file line number Diff line number Diff line change @@ -72,9 +72,7 @@ function output_dryrun() {
72
72
MODEL_YAML_FILES=" $( ls $WORKDIR /$MODEL_DIR /* .yaml | xargs | sed ' s/ /,/g' ) "
73
73
MODEL_ARCHIVE_FILES=$WORKDIR /$MODEL_DIR /archive.zip
74
74
MODEL_VARIABLE_FILES=" $( ls $WORKDIR /$MODEL_DIR /* .properties | xargs | sed ' s/ /,/g' ) "
75
- if [ " $WDT_DOMAIN_TYPE " = " WLS" ]; then
76
- CHOWN_ROOT=" --chown oracle:root"
77
- fi
75
+ CHOWN_ROOT=" --chown oracle:root"
78
76
79
77
cat << EOF
80
78
You can’t perform that action at this time.
0 commit comments