Skip to content

Commit 26075fc

Browse files
Merge pull request #398 from oracle/Issue#397-fix-for-no-server-groups
Return the correct value from target server groups when no server groups
2 parents 105c9e6 + bde7e9a commit 26075fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/python/wlsdeploy/tool/util/target_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def target_server_groups_to_servers(self, server_groups_to_target):
9999

100100
self.logger.entering(server_groups_to_target, class_name=self.__class_name, method_name=_method_name)
101101
if len(server_groups_to_target) == 0:
102-
return None, None
102+
return list(), list()
103103

104104
location = LocationContext()
105105
root_path = self.alias_helper.get_wlst_attributes_path(location)

0 commit comments

Comments
 (0)