2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Fix missing tenant argument on user management function

The tenant was omitted preventing those particular rpc calls from
working correctly.
This commit is contained in:
Jarrod Johnson 2018-10-01 14:03:45 -04:00
parent 61e7c90ad1
commit e098c0ba91

View File

@ -1232,9 +1232,9 @@ class ConfigManager(object):
def del_user(self, name):
if cfgleader:
return exec_on_leader('_rpc_master_del_user', name)
return exec_on_leader('_rpc_master_del_user', self.tenant, name)
if cfgstreams:
exec_on_followers('_rpc_del_user', name)
exec_on_followers('_rpc_del_user', self.tenant, name)
self._true_del_user(name)
def _true_del_user(self, name):