Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Rename fix for pool variable. (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
scrosby authored and pschorf committed Nov 20, 2018
1 parent 4f7ff6b commit 4b83a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scheduler/src/cook/mesos/scheduler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@
(counters/defcounter [cook-mesos scheduler offer-chan-depth])

(defn make-offer-handler
[conn driver-atom fenzo framework-id pending-jobs-atom agent-attributes-cache max-considerable scaleback
[conn driver-atom fenzo framework-id pool-name->pending-jobs-atom agent-attributes-cache max-considerable scaleback
floor-iterations-before-warn floor-iterations-before-reset trigger-chan rebalancer-reservation-atom
mesos-run-as-user pool-name]
(let [chan-length 100
Expand Down Expand Up @@ -904,7 +904,7 @@
_ (log/debug "In" pool-name "pool, passing following offers to handle-resource-offers!" offers)
using-pools? (not (nil? (config/default-pool)))
user->quota (quota/create-user->quota-fn (d/db conn) (if using-pools? pool-name nil))
matched-head? (handle-resource-offers! conn @driver-atom fenzo framework-id pending-jobs-atom
matched-head? (handle-resource-offers! conn @driver-atom fenzo framework-id pool-name->pending-jobs-atom
mesos-run-as-user @user->usage-future user->quota
num-considerable offers-chan offers
rebalancer-reservation-atom pool-name)]
Expand Down

0 comments on commit 4b83a01

Please sign in to comment.