Permalink
Browse files

refactored function

  • Loading branch information...
1 parent c2b9a60 commit 95d077118806e6e56f761a569cb2c6a5b97f1195 @nathanmarz committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/backtype/storm/daemon/nimbus.clj
@@ -136,7 +136,7 @@
}})
(defn topology-status [nimbus storm-id]
- (:status (.storm-base (:storm-cluster-state nimbus) storm-id nil)))
+ (-> nimbus :storm-cluster-state (.storm-base storm-id nil) :status))
(defn transition!
([nimbus storm-id event]

0 comments on commit 95d0771

Please sign in to comment.