Skip to content

Commit dccaef6

Browse files
committed
Remove unused require of chrondb.storage.protocol from API v1 routes
This change eliminates a redundant require statement for `chrondb.storage.protocol` in `src/chrondb/api/v1/routes.clj`. The protocol is not referenced within this namespace, so removing it reduces linting noise and unnecessary coupling. All routing and handler code remains intact and fully functional. Signed-off-by: Avelino <[email protected]>
1 parent 9205584 commit dccaef6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/chrondb/api/v1/routes.clj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
(:require [clojure.string :as str]
55
[compojure.core :refer [GET POST DELETE routes context]]
66
[compojure.route :as route]
7-
[chrondb.storage.protocol :as storage]
87
[chrondb.index.protocol :as index]
98
[chrondb.api.v1 :as handlers]
109
[ring.util.response :as response]))

src/chrondb/core.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
(ns chrondb.core
1616
(:gen-class)
1717
(:require [chrondb.cli.core :as cli]
18-
[chrondb.cli.server :as server]
19-
[clojure.string :as str]))
18+
[chrondb.cli.server :as server]))
2019

2120
(def cli-commands
2221
#{"init" "info" "get" "put" "history" "delete" "export" "import" "verify" "tail-history"})

0 commit comments

Comments
 (0)