Skip to content

Commit

Permalink
Merge pull request #166 from jihyungSong/master
Browse files Browse the repository at this point in the history
add plugin_id in job
  • Loading branch information
jihyungSong authored Aug 3, 2023
2 parents b750410 + 56fb25b commit d8a48e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaceone/inventory/service/collector_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def collect(self, params):

tasks = self.get_tasks(params, endpoint, collector_vo.provider, plugin_info, secret_filter, domain_id)
projects = self.list_projects_from_tasks(tasks)
params.update({'total_tasks': len(tasks), 'remained_tasks': len(tasks)})
params.update({'plugin_id': plugin_id, 'total_tasks': len(tasks), 'remained_tasks': len(tasks)})

duplicated_job_vos = job_mgr.list_duplicate_jobs(collector_id, params.get('secret_id'), domain_id)
for job_vo in duplicated_job_vos:
Expand Down

0 comments on commit d8a48e6

Please sign in to comment.