Actions
Issue #1710
closedenable-v2 cannot be updated using the CLI
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
Target Release - Docker:
2.0.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
We can specify `enable-v2` at docker repo creation time, but we cannot update it later. A similar setting, enable-v1 does exist on update.
(pulp)[vagrant@dev pulp]$ pulp-admin docker repo update --repo-id=busybox --enable-v1=False
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
(pulp)[vagrant@dev pulp]$ pulp-admin docker repo update --repo-id=busybox --enable-v2=False
Command: update
Description: changes metadata on an existing repository
...
Cut for brevity
...
The following options were specified but do not exist on the command:
--enable-v2
Actions
Allow users to --enable-v{1,2} with repo update.
Our Docker CLI extensions had an oversight where users could not update the --enable-v{1,2} flags on their repositories. This commit fixes that oversight.
https://pulp.plan.io/issues/1710
fixes #1710