From 7101645a879bb04b091bbf8b398a6282bc40ba3e Mon Sep 17 00:00:00 2001 From: Khosrow Afroozeh Date: Thu, 15 Oct 2020 08:16:47 +0200 Subject: [PATCH] Recursively clean MsgPack extensions from the result --- lib/aerospike/utils/unpacker.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/aerospike/utils/unpacker.rb b/lib/aerospike/utils/unpacker.rb index 7bd0baf4..26af3607 100644 --- a/lib/aerospike/utils/unpacker.rb +++ b/lib/aerospike/utils/unpacker.rb @@ -92,9 +92,9 @@ def normalize_elem(elem) end value when Array - normalize_strings_in_array(elem) + unpack_list(elem) when Hash - normalize_strings_in_map(elem) + unpack_map(elem) else elem end