Actions
Bug #15513
closedmirror-on-sync option is not set properly during repository create
Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1348070
Creating a repository with --mirror-on-sync=false results in the repository being created, but 'Mirror on Sync' is actually still set to true.
To reproduce (6.2.0 Beta2)
hammer product create --name='product1' --organization-id=1
hammer repository create \
--name='testrepo1' \
--organization-id=1 \
--product='product1' \
--content-type='yum' \
--publish-via-http=false \
--mirror-on-sync=false \
--download-policy=immediate
hammer repository info --product='product1' --name='testrepo1'
(This does not show the state of the Mirror on Sync option)
Login to the WebUI and navigate to the new repo shows Mirror on Sync = Yes
Actions