mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
We should be registering Commands, not Methods
This commit is contained in:
@@ -143,9 +143,9 @@ XMLRPCServer.register_introspection_functions()
|
||||
# Get and register all the methods
|
||||
api.env.server_context = True
|
||||
api.finalize()
|
||||
for cmd in api.Method:
|
||||
for cmd in api.Command:
|
||||
logger.info("registering %s" % cmd)
|
||||
XMLRPCServer.register_function(api.Method[cmd], cmd)
|
||||
XMLRPCServer.register_function(api.Command[cmd], cmd)
|
||||
|
||||
funcs = XMLRPCServer.funcs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user