use all allowed methods including groups instead of just enabled methods
This commit is contained in:
@@ -82,7 +82,7 @@ class ManagedCallMethods(
|
|||||||
override fun createQuorumFor(method: String): CallQuorum {
|
override fun createQuorumFor(method: String): CallQuorum {
|
||||||
return when {
|
return when {
|
||||||
isDelegated(method) && !isRedefined(method) -> delegate.createQuorumFor(method)
|
isDelegated(method) && !isRedefined(method) -> delegate.createQuorumFor(method)
|
||||||
enabled.contains(method) -> quorum[method]?.create() ?: defaultQuorum.create()
|
allAllowed.contains(method) -> quorum[method]?.create() ?: defaultQuorum.create()
|
||||||
else -> {
|
else -> {
|
||||||
log.warn("Getting quorum for unknown method - $method")
|
log.warn("Getting quorum for unknown method - $method")
|
||||||
defaultQuorum.create()
|
defaultQuorum.create()
|
||||||
|
|||||||
Reference in New Issue
Block a user