storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [3/7] git commit: Fixing doto usage in creating ErrorInfo
Date Mon, 23 Jun 2014 14:29:09 GMT
Fixing doto usage in creating ErrorInfo


Project: http://git-wip-us.apache.org/repos/asf/incubator-storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-storm/commit/1ec738ed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-storm/tree/1ec738ed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-storm/diff/1ec738ed

Branch: refs/heads/master
Commit: 1ec738edd08551ad55e1369473ceb6f7c750bff0
Parents: ff2d1a1
Author: Kishor Patil <kpatil@yahoo-inc.com>
Authored: Fri Jun 20 20:10:07 2014 +0000
Committer: Kishor Patil <kpatil@yahoo-inc.com>
Committed: Fri Jun 20 20:10:07 2014 +0000

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/daemon/nimbus.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/1ec738ed/storm-core/src/clj/backtype/storm/daemon/nimbus.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/daemon/nimbus.clj b/storm-core/src/clj/backtype/storm/daemon/nimbus.clj
index 398ffc0..4727d3c 100644
--- a/storm-core/src/clj/backtype/storm/daemon/nimbus.clj
+++ b/storm-core/src/clj/backtype/storm/daemon/nimbus.clj
@@ -857,7 +857,7 @@
 
 (defn- get-errors [storm-cluster-state storm-id component-id]
   (->> (.errors storm-cluster-state storm-id component-id)
-       (map #(doto error-info (ErrorInfo. (:error %) (:time-secs %))
+       (map #(doto (ErrorInfo. (:error %) (:time-secs %))
                    (.set_host error-info (:host %))
                    (.set_port error-info (:port %))))))
 


Mime
View raw message