Skip to content

Commit

Permalink
fix(BulkDeploymentSettop.py): missing param to EdgeResolver in dg sto…
Browse files Browse the repository at this point in the history
…p action (#427)
  • Loading branch information
alebellu authored Jan 23, 2025
1 parent a8fb4b0 commit 5dfe0ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nuvla/job_engine/job/actions/bulk_deployment_set_stop.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ class BulkDeploymentSetStopJob(BulkAction):
def __init__(self, job):
super().__init__(job, action_name)
self.dep_set_id = self.job['target-resource']['href']
self.dep_set = self.dg_api.get(self.dep_set_id)
self.dg_owner_api = get_dg_owner_api(job)
self.dg_api = get_dg_api(job)
self.edge_resolver = EdgeResolver(self.dg_owner_api)
self.edge_resolver = EdgeResolver(self.dg_owner_api, self.dep_set.data.get('subtype'))

def get_todo(self):
filter_deployment_set = f'deployment-set="{self.dep_set_id}"'
Expand Down

0 comments on commit 5dfe0ac

Please sign in to comment.