summaryrefslogtreecommitdiff
path: root/buildscripts/idl/idl_check_compatibility.py
diff options
context:
space:
mode:
authorAli Mir <ali.mir@mongodb.com>2021-03-10 19:34:36 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-10 22:10:37 +0000
commit0a882715b0918d61096019c4146be6eec309f1d5 (patch)
tree37a09657e9f423fceac07a28645dadd16c04c078 /buildscripts/idl/idl_check_compatibility.py
parent5102ca3a6c0fa401d129d02ca9854949a6c4a19b (diff)
downloadmongo-0a882715b0918d61096019c4146be6eec309f1d5.tar.gz
SERVER-55052 Generalize error messages for reply fields in IDL compatibility checker script
Diffstat (limited to 'buildscripts/idl/idl_check_compatibility.py')
-rw-r--r--buildscripts/idl/idl_check_compatibility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/idl/idl_check_compatibility.py b/buildscripts/idl/idl_check_compatibility.py
index 34d668f1e86..256cc7d6258 100644
--- a/buildscripts/idl/idl_check_compatibility.py
+++ b/buildscripts/idl/idl_check_compatibility.py
@@ -123,7 +123,7 @@ def check_subset(ctxt: IDLCompatibilityContext, cmd_name: str, field_name: str,
# pylint: disable=too-many-arguments
"""Check if sub_list is a subset of the super_list and log an error if not."""
if not set(sub_list).issubset(super_list):
- ctxt.add_command_not_subset_error(cmd_name, field_name, type_name, file_path)
+ ctxt.add_reply_field_not_subset_error(cmd_name, field_name, type_name, file_path)
def check_superset(ctxt: IDLCompatibilityContext, cmd_name: str, type_name: str,