mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Don't worry with type changes, just compare strings (#52827)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user