From 48370001335b9d7ce5cde3959af68a1dff855605 Mon Sep 17 00:00:00 2001 From: Andriy Zavada Date: Tue, 7 May 2024 00:13:02 +0300 Subject: [PATCH] Extend 'continuation' value type to undefined | binary() This is to bring the `index_options()` type in agreement with actual usage, as seen for example in riak_cs: [here](https://github.com/TI-Tokyo/riak_cs/blob/develop/apps/riak_cs/src/riak_cs_gc_key_list.erl#L126) its `continuation` option is explicitly [set](https://github.com/TI-Tokyo/riak_cs/blob/develop/apps/riak_cs/src/riak_cs_gc_key_list.erl#L160) to `undefined`. --- src/riakc_pb_socket.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/riakc_pb_socket.erl b/src/riakc_pb_socket.erl index fd361c1e..b8a5d7de 100644 --- a/src/riakc_pb_socket.erl +++ b/src/riakc_pb_socket.erl @@ -122,7 +122,7 @@ -type index_opt() :: {timeout, timeout()} | {call_timeout, timeout()} | {stream, boolean()} | - {continuation, binary()} | + {continuation, continuation()} | {pagination_sort, boolean()} | {max_results, non_neg_integer() | all}. -type index_opts() :: [index_opt()].