Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #31 from zalando-incubator/fix-daemon
Browse files Browse the repository at this point in the history
Fix daemon
  • Loading branch information
v-stepanov authored Aug 5, 2016
2 parents 69906cf + 1ae08a7 commit ef2dc75
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bubuku/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from bubuku.features.terminate import register_terminate_on_interrupt
from bubuku.id_generator import get_broker_id_policy
from bubuku.utils import CmdHelper
from bubuku.zookeeper import load_exhibitor_proxy, BukuExhibitor
from bubuku.zookeeper import BukuExhibitor, load_exhibitor_proxy

_LOG = logging.getLogger('bubuku.main')
Expand All @@ -31,9 +30,9 @@ def apply_features(features: str, controller: Controller, buku_proxy: BukuExhibi
elif feature == 'rebalance_on_brokers_change':
controller.add_check(RebalanceOnBrokerListChange(buku_proxy, broker))
elif feature == 'rebalance_by_size':
controller.add_check(GenerateDataSizeStatistics(exhibitor, broker, CmdHelper(),
controller.add_check(GenerateDataSizeStatistics(buku_proxy, broker, CmdHelper(),
kafka_properties.get_property("log.dirs").split(",")))
controller.add_check(RebalanceBySize(exhibitor, broker))
controller.add_check(RebalanceBySize(buku_proxy, broker))
elif feature == 'graceful_terminate':
register_terminate_on_interrupt(controller, broker)
elif feature == 'use_ip_address':
Expand Down

0 comments on commit ef2dc75

Please sign in to comment.