Skip to content

Commit

Permalink
fix: review fix TencentBlueKing#7289
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls committed Jan 16, 2024
1 parent 0f6fab9 commit 5820065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcloud/core/apis/drf/serilaziers/common_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _calculate_new_executor_proxies(self, old_pipeline_tree: dict, pipeline_tree
old_executor_proxy = old_nodes.get(node_id, {}).get("executor_proxy")
if not old_executor_proxy or executor_proxy != old_executor_proxy:
new_executor_proxies.add(executor_proxy)
return set(new_executor_proxies)
return new_executor_proxies

def _calculate_executor_proxies(self, pipeline_tree):
new_executor_proxies = set()
Expand All @@ -90,7 +90,7 @@ def _calculate_executor_proxies(self, pipeline_tree):
if not executor_proxy:
continue
new_executor_proxies.add(executor_proxy)
return set(new_executor_proxies)
return new_executor_proxies

def validate_pipeline_tree(self, value: str):
pipeline_tree = json.loads(value)
Expand Down

0 comments on commit 5820065

Please sign in to comment.