Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES/+retain_repo_versions.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed empty string not being accepted as the value of `--retain-repo-versions`.
2 changes: 1 addition & 1 deletion src/pulp_cli/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ def _type_callback(ctx: click.Context, param: click.Parameter, value: str | None
"--retain-repo-versions",
needs_plugins=[PluginRequirement("core", specifier=">=3.13.0")],
help=_("Number of repository versions to keep."),
type=int,
type=int_or_empty,
)

pulp_labels_option = pulp_option(
Expand Down
Loading