diff options
author | Nick Vatamaniuc <vatamane@gmail.com> | 2023-04-29 20:05:22 -0400 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2023-04-30 00:20:36 -0400 |
commit | fe445bb95c8fc6c0836f31017a98b41736200a71 (patch) | |
tree | 16f182dbbefbf6951a49571d7138ffa937c041c9 /src/nouveau/src/nouveau_httpd.erl | |
parent | aa8eb076c311d3c816ea554ccf15e1232194bbfd (diff) | |
download | couchdb-fe445bb95c8fc6c0836f31017a98b41736200a71.tar.gz |
Make Erlang 24 the minimum version
We can drop a compat nouveau_maps module. Later we can check the code and see
if we can replace any maps:map/2 with maps:foreach/2 perhaps.
In smoosh_persist, no need to check for file:delete/2. Later we should probably
make the delete in couch_file do the same thing to avoid going through the file
server.
`sha_256_512_supported/0` has been true for a while but the check had been
broken, the latest crypto module is `crypto:mac/3,4` so we can re-enable these
tests.
ML discussion: https://lists.apache.org/thread/7nxm16os8dl331034v126kb73jmb7j3x
Diffstat (limited to 'src/nouveau/src/nouveau_httpd.erl')
-rw-r--r-- | src/nouveau/src/nouveau_httpd.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nouveau/src/nouveau_httpd.erl b/src/nouveau/src/nouveau_httpd.erl index 5cb50de6a..e60d7e440 100644 --- a/src/nouveau/src/nouveau_httpd.erl +++ b/src/nouveau/src/nouveau_httpd.erl @@ -206,7 +206,7 @@ validate_query_arg(sort, Sort) -> validate_query_arg(ranges, undefined) -> null; validate_query_arg(ranges, {json, Ranges}) when is_map(Ranges) -> - nouveau_maps:foreach(fun is_valid_range/2, Ranges), + maps:foreach(fun is_valid_range/2, Ranges), Ranges; validate_query_arg(ranges, Ranges) -> validate_query_arg(ranges, {json, ?JSON_DECODE(Ranges, [return_maps])}); |