Skip to content

Commit

Permalink
Fixed parameter issue in fbi updater
Browse files Browse the repository at this point in the history
  • Loading branch information
dwest77a committed Dec 17, 2024
1 parent ba38b1c commit 1cde4f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions cci_os_worker/fbi_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ def _get_command_line_args():
'verbose': args.verbose,
'file_count': args.file_count,
'output': args.output

}

def fbi_main(args: dict = None):
Expand All @@ -206,8 +205,8 @@ def fbi_main(args: dict = None):

set_verbose(args['verbose'])

fb = FBIUpdateHandler(conf, dryrun=args['dryrun'], test=args['test'], file_limit=file_limit)
fail_list = fb.process_deposits(args['datafile_path'])
fb = FBIUpdateHandler(conf, dryrun=args['dryrun'], test=args['test'])
fail_list = fb.process_deposits(args['datafile_path'], file_limit=file_limit)

logger.info('Failed items:')
for f in fail_list:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cci-os-worker"
version = "0.3.2"
version = "0.3.3"
description = "Worker repo to execute the steps for CCI Opensearch Ingestion, namely facet and tag scanning and updates to the CEDA FBI"
authors = ["Daniel Westwood <daniel.westwood@stfc.ac.uk>"]
license = "\"{file = 'LICENSE'}\""
Expand Down

0 comments on commit 1cde4f3

Please sign in to comment.