2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-28 20:07:48 +00:00

Fix incorrect function call for user creation

In collective mode, the incorrect rpc call was made
This commit is contained in:
Jarrod Johnson 2018-05-30 15:30:27 -04:00
parent 57ffe166d3
commit 417bc5acda

View File

@ -1025,7 +1025,7 @@ class ConfigManager(object):
return exec_on_leader('_rpc_master_create_user', self.tenant,
name, role, uid, displayname, attributemap)
if cfgstreams:
exec_on_followers('_rpc_set_group_attributes', self.tenant, name,
exec_on_followers('_rpc_create_user', self.tenant, name,
role, uid, displayname, attributemap)
self._true_create_user(name, role, uid, displayname, attributemap)