File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
java/com/oracle/weblogic/imagetool/cli/menu Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,10 @@ public CommandResponse call() throws Exception {
139
139
// build wdt args if user passes --wdtModelPath
140
140
wdtOptions .handleWdtArgs (dockerfileOptions , cmdBuilder , tmpDir );
141
141
dockerfileOptions .setWdtCommand (wdtOperation );
142
+ if (dockerfileOptions .runRcu ()
143
+ && (wdtOperation == WdtOperation .UPDATE || wdtOperation == WdtOperation .DEPLOY )) {
144
+ return new CommandResponse (-1 , "IMG-0055" );
145
+ }
142
146
143
147
// resolve required patches
144
148
handlePatchFiles (lsinventoryText );
Original file line number Diff line number Diff line change @@ -53,3 +53,4 @@ IMG-0051=Deleted entry {0}={1}
53
53
IMG-0052 =Nothing to delete for key: {0}
54
54
IMG-0053 =Build successful. Build time ={0}s. Image tag ={1}
55
55
IMG-0054 =Dry run complete. No image created.
56
+ IMG-0055 =RunRCU can only be used when creating a new domain. Please try --wdtOperation =CREATE or removing --wdtRunRCU.
You can’t perform that action at this time.
0 commit comments