makeaci, makeapi: use in-server API

Capture the server API rather than client API in API.txt. Client API may be
affected by client-side plugins and thus may not correspond to what is
transmitted over the wire.

https://fedorahosted.org/freeipa/ticket/4739

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Jan Cholasta
2016-06-20 16:39:12 +02:00
parent a95e0777ac
commit db13494045
3 changed files with 10 additions and 129 deletions
+2 -2
View File
@@ -86,8 +86,8 @@ def check_member_attrs(name, template):
def main(options):
api.bootstrap(
context='cli',
in_server=False,
context='server',
in_server=True,
in_tree=True,
debug=False,
verbose=0,