summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2019-02-07 11:28:39 -0600
committerPaul J. Davis <paul.joseph.davis@gmail.com>2019-02-07 11:28:39 -0600
commit57ea52213cd750ce6bb0233e52c8f1117e18a608 (patch)
tree3f8a534ccb035168ee0fc3fbc4f0c25e8dd56947
parent5b8ecb356745118be651f1bcec80e2c67e81d0dc (diff)
downloadcouchdb-57ea52213cd750ce6bb0233e52c8f1117e18a608.tar.gz
Fixed typo
-rw-r--r--src/dreyfus_httpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dreyfus_httpd.erl b/src/dreyfus_httpd.erl
index 012bfff9c..7b9d9ef03 100644
--- a/src/dreyfus_httpd.erl
+++ b/src/dreyfus_httpd.erl
@@ -435,7 +435,7 @@ ensure_unique_partition(IndexParams) ->
Partitions = lists:filter(fun({Key, _Val}) ->
Key == partition
end, IndexParams),
- case length(length:usort(Partitions)) > 1 of
+ case length(lists:usort(Partitions)) > 1 of
true ->
Msg = <<"Multiple conflicting values for `partition` provided">>,
throw({bad_request, Msg});