Don't error on type changes, cast to string and compare (#52505)

pull/52529/head
Matt Martz 7 years ago committed by GitHub
parent 6e739b12a6
commit 60255efc32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1404,7 +1404,7 @@ class ModuleValidator(Validator):
if existing_version: if existing_version:
break break
current_version = details.get('version_added') current_version = details.get('version_added')
if current_version != existing_version: if str(current_version) != str(existing_version):
self.reporter.error( self.reporter.error(
path=self.object_path, path=self.object_path,
code=309, code=309,

Loading…
Cancel
Save