Fix metadata comparison (#49133)
This commit is contained in:
parent
93c5781f61
commit
46b465283c
1 changed files with 2 additions and 0 deletions
|
@ -1347,6 +1347,8 @@ class ModuleValidator(Validator):
|
||||||
mod_version_added = StrictVersion('0.0')
|
mod_version_added = StrictVersion('0.0')
|
||||||
|
|
||||||
if self.base_branch and 'stable-' in self.base_branch:
|
if self.base_branch and 'stable-' in self.base_branch:
|
||||||
|
metadata.pop('metadata_version', None)
|
||||||
|
metadata.pop('version', None)
|
||||||
if metadata != existing_metadata:
|
if metadata != existing_metadata:
|
||||||
self.reporter.error(
|
self.reporter.error(
|
||||||
path=self.object_path,
|
path=self.object_path,
|
||||||
|
|
Loading…
Reference in a new issue