pulp / pulp-cli

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

--chunk-size seems to be broken #1023

Closed dkliban closed 4 months ago

dkliban commented 4 months ago

Summary

0.27.0 introduced the --directory option for content uploads, but it doesn't seem to work with --chunk-size

Steps to reproduce

pulp rpm content upload --directory ./ --repository my-custom-repo --chunk-size 1G

Error: Please pass in a valid size of form: [0-9] [K/M/G/T]B

Expected behavior

Upload happens and correct chunk size is used.

dkliban commented 4 months ago

i was doing it wrong. the value of chunk size should be 1GB