Skip to content

Commit 7ce34c2

Browse files
committed
Remove orphaned comment from _get_group_details
This is a follow up to change I745aecb008f0867fcda2d3d2c7691621dd8f6168 which removed the code for which the comment was related and is now orphaned. This change removes the comment since it has no context/relevance to the code around it now. Change-Id: I554ab5552df9b83fcdcc9d530ccb0e54081f4ed7
1 parent f696660 commit 7ce34c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nova/scheduler/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,8 +939,6 @@ def _get_group_details(context, instance_uuid, user_group_hosts=None):
939939
msg = _("ServerGroupSoftAntiAffinityWeigher not configured")
940940
LOG.error(msg)
941941
raise exception.UnsupportedPolicyException(reason=msg)
942-
# NOTE(melwitt): If the context is already targeted to a cell (during a
943-
# move operation), we don't need to scatter-gather.
944942
group_hosts = set(group.get_hosts())
945943
user_hosts = set(user_group_hosts) if user_group_hosts else set()
946944
return GroupDetails(hosts=user_hosts | group_hosts,

0 commit comments

Comments
 (0)