doesn't check follower requirement with an other follower or a leader if idx is None (fixes #3)
This commit is contained in:
@ -523,6 +523,10 @@ class Settings(object):
|
||||
is_indexed = False
|
||||
if option.impl_is_follower():
|
||||
idx = option_bag.index
|
||||
if idx is None:
|
||||
continue
|
||||
elif option.impl_is_leader() and option_bag.index is None:
|
||||
continue
|
||||
elif option.impl_is_multi() and option_bag.index is not None:
|
||||
is_indexed = True
|
||||
config_bag = option_bag.config_bag.copy()
|
||||
|
Reference in New Issue
Block a user