Don't error on type changes, cast to string and compare (#52505)
This commit is contained in:
parent
6e739b12a6
commit
60255efc32
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue