1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Don't worry with type changes, just compare strings (#52827)

This commit is contained in:
Matt Martz 2019-02-22 10:44:38 -06:00 committed by GitHub
parent f6c2104d79
commit df5b8f65ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1098,7 +1098,7 @@ class ModuleValidator(Validator):
)
return
if existing_doc and version_added_raw != existing_doc.get('version_added'):
if existing_doc and str(version_added_raw) != str(existing_doc.get('version_added')):
self.reporter.error(
path=self.object_path,
code=307,