Skip to content

Commit

Permalink
Clean up unused local bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Oct 10, 2017
1 parent d2edfa1 commit 59cfc63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hbase_packet_inspector/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ Options:
{:servers servers
:topic1 topic1
:topic2 (or topic2 topic1)
:extra-pairs (query->map query)}))
:extra-pairs extra-pairs}))

(defn with-kafka*
"Executes process function with Kafka sink"
Expand Down Expand Up @@ -512,8 +512,8 @@ Options:

(defn -main
[& args]
(let [{:keys [options arguments errors]} (parse-opts! args)
{:keys [port verbose count duration interface kafka help]} options]
(let [{:keys [options arguments]} (parse-opts! args)
{:keys [interface kafka]} options]
(let [with-sink* (if kafka (partial with-kafka* kafka) with-db*)]
(try
(with-sink*
Expand Down

0 comments on commit 59cfc63

Please sign in to comment.