Skip to content

Commit 2abfbc1

Browse files
authored
wdt-647 Fix wdt trying to stop application when it is not targeted in online update (#1144)
1 parent 47dac58 commit 2abfbc1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/main/python/wlsdeploy/tool/deploy/applications_deployer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,10 @@ def __get_existing_apps(self, base_location):
405405
absolute_planpath = attributes_map['AbsolutePlanPath']
406406
config_targets = self.__get_config_targets()
407407

408+
# AppRuntimeStateRuntime/AppRuntimeStateRuntime always return the app even if not targeted
409+
# skip as if it is not there
410+
if len(config_targets) == 0:
411+
continue
408412
# There are case in application where absolute source path is not set but sourepath is
409413
# if source path is not absolute then we need to add the domain path
410414

0 commit comments

Comments
 (0)