Fix metadata comparison (#49133)

pull/49142/head
Matt Martz 6 years ago committed by GitHub
parent 93c5781f61
commit 46b465283c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save