Skip to content

Commit

Permalink
[new] Update to latest commands.json (from 2022-09-22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Dec 3, 2022
1 parent da1b8bb commit 5f9f6b2
Show file tree
Hide file tree
Showing 2 changed files with 226 additions and 119 deletions.
2 changes: 1 addition & 1 deletion src/taoensso/carmine/commands.clj
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
(defn- get-command-spec
"Given a `clojure/slurp`-able Redis commands.json location (e.g. URL),
reads the json and returns a cleaned-up Redis command spec map."
([] (get-command-spec (java.net.URL. "https://raw.githubusercontent.com/antirez/redis-doc/master/commands.json")))
([] (get-command-spec (java.net.URL. "https://raw.githubusercontent.com/redis/redis-doc/master/commands.json")))
([json]
(try
(let [m (clojure.data.json/read-str (slurp json) :key-fn keyword)]
Expand Down
Loading

0 comments on commit 5f9f6b2

Please sign in to comment.