Permalink
Browse files

tiny change for best practice.

  • Loading branch information...
1 parent d32701f commit f1a4cf3ec77680d2e543dbae97dbdbabdd0fbcdc Jason Jackson committed Nov 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/backtype/storm/daemon/executor.clj
@@ -273,7 +273,7 @@
(IMetricsConsumer$DataPoint. (.name mh)
(.getValueAndReset ^IMetric (.metric mh)))))
(into []))]]
- (if data-points
+ (if (seq data-points)
(task/send-unanchored task-data Constants/METRICS_STREAM_ID [task-info data-points])))))
(defn setup-ticks! [worker executor-data]

0 comments on commit f1a4cf3

Please sign in to comment.