Skip to content

Commit

Permalink
Merge pull request #13 from querti/make-bundles-optional
Browse files Browse the repository at this point in the history
Make bundle an optional input argument [CLOUDDST-2205]
  • Loading branch information
querti committed Sep 22, 2020
2 parents c3bfaef + 7b19b3b commit 3edb949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pubtools/iib/iib_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
ADD_CMD_ARGS[("--bundle",)] = {
"group": "IIB service",
"help": "<hostname>/<namespace>/<image>:<tag> of bundle",
"required": True,
"required": False,
"type": str,
"action": "append",
}
Expand Down Expand Up @@ -229,7 +229,7 @@ def _iib_op_main(args, operation=None, items_final_state="PUSHED"):
build_details = bundle_op(
args.index_image,
args.binary_image,
args.bundle if hasattr(args, "bundle") else args.operator,
args.bundle if operation == "add_bundles" else args.operator,
args.arch,
**extra_args
)
Expand Down

0 comments on commit 3edb949

Please sign in to comment.