Skip to content

Commit a65a4d9

Browse files
author
Ryan McCorry
committed
call get_transient_settings with settings value as a list, not string - bugfix
1 parent 277d943 commit a65a4d9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.6.1
2+
+ Fix bug in get transient settings for cluster
3+
14
# 0.6
25

36
+ Add CLI option to temporarily override disk watermarks

elasticsearch_rebalancer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def print_execute_reroutes(es_host, commands):
198198
raise BalanceException('User exited serial rerouting!')
199199

200200
cluster_update_interval = get_transient_cluster_settings(
201-
es_host, 'cluster.info.update.interval',
201+
es_host, ['cluster.info.update.interval'],
202202
)['cluster.info.update.interval'] or '30s'
203203

204204
cluster_update_interval = int(cluster_update_interval[:-1])

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
setup(
1212
name='elasticsearch-rebalancer',
1313
description='Pokes Elasticsearch to balance itself sensibly.',
14-
version='0.6',
14+
version='0.6.1',
1515
author='EDITED devs',
1616
author_email='[email protected]',
1717
packages=[

0 commit comments

Comments
 (0)