mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Fix metadata comparison (#49133)
This commit is contained in:
@@ -1347,6 +1347,8 @@ class ModuleValidator(Validator):
|
||||
mod_version_added = StrictVersion('0.0')
|
||||
|
||||
if self.base_branch and 'stable-' in self.base_branch:
|
||||
metadata.pop('metadata_version', None)
|
||||
metadata.pop('version', None)
|
||||
if metadata != existing_metadata:
|
||||
self.reporter.error(
|
||||
path=self.object_path,
|
||||
|
||||
Reference in New Issue
Block a user