From 46b465283c5ea3b545decd0700db5fff618e55a3 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 26 Nov 2018 10:45:48 -0600 Subject: [PATCH] Fix metadata comparison (#49133) --- test/sanity/validate-modules/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/sanity/validate-modules/main.py b/test/sanity/validate-modules/main.py index 27a8d05ea9f..358e8b81008 100755 --- a/test/sanity/validate-modules/main.py +++ b/test/sanity/validate-modules/main.py @@ -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,