mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-13 00:42:03 -05:00
We should be registering Commands, not Methods
This commit is contained in:
1 parent
399b3794fb
commit
361a379ff9
1 file changed
+2
-2
+2
-2
@@ -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