Skip to content

wdt-647 Fix wdt trying to stop application when it is not targeted in online update #1144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,10 @@ def __get_existing_apps(self, base_location):
absolute_planpath = attributes_map['AbsolutePlanPath']
config_targets = self.__get_config_targets()

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

Expand Down