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 {
139139 // build wdt args if user passes --wdtModelPath
140140 wdtOptions .handleWdtArgs (dockerfileOptions , cmdBuilder , tmpDir );
141141 dockerfileOptions .setWdtCommand (wdtOperation );
142+ if (dockerfileOptions .runRcu ()
143+ && (wdtOperation == WdtOperation .UPDATE || wdtOperation == WdtOperation .DEPLOY )) {
144+ return new CommandResponse (-1 , "IMG-0055" );
145+ }
142146
143147 // resolve required patches
144148 handlePatchFiles (lsinventoryText );
Original file line number Diff line number Diff line change @@ -53,3 +53,4 @@ IMG-0051=Deleted entry {0}={1}
5353IMG-0052 =Nothing to delete for key: {0}
5454IMG-0053 =Build successful. Build time ={0}s. Image tag ={1}
5555IMG-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