rpmmd: add IgnoreSSL key to RepoConfig
This is the opposite of dnf.conf's `sslverify`, because go's default for booleans is always false. This is error prone: we'd like to default to true.
This commit is contained in:
parent
2b42612336
commit
305b2dda5c
3 changed files with 6 additions and 1 deletions
3
dnf-json
3
dnf-json
|
|
@ -29,6 +29,9 @@ def dnfrepo(desc, parent_conf=None):
|
|||
else:
|
||||
assert False
|
||||
|
||||
if desc.get("ignoressl", False):
|
||||
repo.sslverify = False
|
||||
|
||||
return repo
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue