Don't error on type changes, cast to string and compare (#52505)
parent
6e739b12a6
commit
60255efc32
|
@ -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…
Reference in New Issue