mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #8933 from alxgu/fix_zypp_repo_url
zypper_repository: Remove trailing "/"
This commit is contained in:
@@ -105,7 +105,7 @@ def repo_exists(module, **kwargs):
|
||||
|
||||
for k, v in realrepo.items():
|
||||
if k in repocmp:
|
||||
if v != repocmp[k]:
|
||||
if v.rstrip("/") != repocmp[k].rstrip("/"):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user