From 90eadfba0aaf62d45b719153eecef14712132546 Mon Sep 17 00:00:00 2001 From: Jungtaek Lim Date: Wed, 21 Oct 2015 23:10:36 +0900 Subject: [PATCH] fix keyword (schema -> scheme) from main-routes --- storm-core/src/clj/backtype/storm/ui/core.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storm-core/src/clj/backtype/storm/ui/core.clj b/storm-core/src/clj/backtype/storm/ui/core.clj index cfd7e7ce20e..cb5dbbe6269 100644 --- a/storm-core/src/clj/backtype/storm/ui/core.clj +++ b/storm-core/src/clj/backtype/storm/ui/core.clj @@ -852,11 +852,11 @@ (populate-context! servlet-request) (assert-authorized-user "getClusterInfo") (json-response (all-topologies-summary) (:callback m))) - (GET "/api/v1/topology/:id" [:as {:keys [cookies servlet-request schema]} id & m] + (GET "/api/v1/topology/:id" [:as {:keys [cookies servlet-request scheme]} id & m] (populate-context! servlet-request) (assert-authorized-user "getTopology" (topology-config id)) (let [user (get-user-name servlet-request)] - (json-response (topology-page id (:window m) (check-include-sys? (:sys m)) user (= schema :https)) (:callback m)))) + (json-response (topology-page id (:window m) (check-include-sys? (:sys m)) user (= scheme :https)) (:callback m)))) (GET "/api/v1/topology/:id/visualization-init" [:as {:keys [cookies servlet-request]} id & m] (populate-context! servlet-request) (assert-authorized-user "getTopology" (topology-config id))