Skip to content

Commit 2efb78d

Browse files
committed
Change 2.3 -> 2.1 in utils.is_field_not_found
1 parent 0d2973b commit 2efb78d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crud/common/utils.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ local function add_nullable_fields_recursive(operations, operations_map, space_f
212212
return operations
213213
end
214214

215-
-- Tarantool < 2.3 has no fields `box.error.NO_SUCH_FIELD_NO` and `box.error.NO_SUCH_FIELD_NAME`.
216-
if _TARANTOOL >= "2.3" then
215+
-- Tarantool < 2.1 has no fields `box.error.NO_SUCH_FIELD_NO` and `box.error.NO_SUCH_FIELD_NAME`.
216+
if _TARANTOOL >= "2.1" then
217217
function utils.is_field_not_found(err_code)
218218
return err_code == box.error.NO_SUCH_FIELD_NO or err_code == box.error.NO_SUCH_FIELD_NAME
219219
end

0 commit comments

Comments
 (0)