pulp / pulp-cli

https://docs.pulpproject.org/pulp_cli/
GNU General Public License v2.0
36 stars 42 forks source link

Only set auth_provider if no cert was provided #974

Closed evgeni closed 4 months ago

evgeni commented 4 months ago

Otherwise (e.g. when using cert auth), pulp_glue will error out with:

Error: Cannot use both 'auth' and 'cert'.

Fixes: 954a7bd4899e56d641949f6a5f0fd2f257c26ae0

Review Checklist:

evgeni commented 4 months ago

plz backport to 0.25.z :)

evgeni commented 4 months ago

(it's one of those "Evgeni makes linters unhappy" days)

patchback[bot] commented 4 months ago

Backport to 0.25: 💚 backport PR created

✅ Backport PR branch: patchback/backports/0.25/2fca797e88ef059911b078011d98f00b3239a087/pr-974

Backported as https://github.com/pulp/pulp-cli/pull/975

🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.