Skip to content

Commit

Permalink
fix: erlazure_blob:parse_container_list typespec return type
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesmg committed Jun 6, 2024
1 parent fb10fff commit 9745a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/erlazure_blob.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
-export([parse_container_list/1, parse_blob_list/1, get_request_body/1, parse_block_list/1,
get_request_param_specs/0, parse_blob_response/1]).

-spec parse_container_list(string()) -> {error, bad_response} | {[blob_container()], list()}.
-spec parse_container_list(string() | binary()) -> {error, bad_response} | {ok, {[blob_container()], list()}}.
parse_container_list(Response) ->
ParserSpec = #enum_parser_spec { rootKey = 'Containers',
elementKey = 'Container',
Expand Down

0 comments on commit 9745a91

Please sign in to comment.