Skip to content

Commit 436ae85

Browse files
author
Nathan Marz
committed
fix formatting
1 parent 7929a13 commit 436ae85

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/clj/backtype/storm/daemon/nimbus.clj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -613,15 +613,15 @@
613613
:let [existing-assignment (get existing-assignments topology-id)
614614
topology-details (.getById topologies topology-id)]]
615615
(if (= existing-assignment assignment)
616-
(log-debug "Assignment for " topology-id " hasn't changed")
617-
(do
618-
(log-message "Setting new assignment for topology id " topology-id ": " (pr-str assignment))
619-
(.set-assignment! storm-cluster-state topology-id assignment)
620-
(.assignSlots ^INimbus (:inimbus nimbus)
621-
(for [[id port] (newly-added-slots existing-assignment assignment)]
622-
(WorkerSlot. id port))
623-
topology-details)
624-
)))))
616+
(log-debug "Assignment for " topology-id " hasn't changed")
617+
(do
618+
(log-message "Setting new assignment for topology id " topology-id ": " (pr-str assignment))
619+
(.set-assignment! storm-cluster-state topology-id assignment)
620+
(.assignSlots ^INimbus (:inimbus nimbus)
621+
(for [[id port] (newly-added-slots existing-assignment assignment)]
622+
(WorkerSlot. id port))
623+
topology-details)
624+
)))))
625625

626626
(defn- start-storm [nimbus storm-name storm-id]
627627
(let [storm-cluster-state (:storm-cluster-state nimbus)

0 commit comments

Comments
 (0)