diff options
author | Fraser Tweedale <ftweedal@redhat.com> | 2016-12-19 14:31:14 +1000 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2017-01-11 15:26:20 +0100 |
commit | 09a65df6842411d42966111e50924df3de0b7031 (patch) | |
tree | f96b847e1a3aa7d5239d50f3438ec7d3f6f73a6a /ipaserver/install/installutils.py | |
parent | f54df62abae4a15064bf297634558eb9be83ce33 (diff) | |
download | freeipa-09a65df6842411d42966111e50924df3de0b7031.tar.gz freeipa-09a65df6842411d42966111e50924df3de0b7031.tar.xz freeipa-09a65df6842411d42966111e50924df3de0b7031.zip |
Reuse self.api when executing ca_enabled_check
The ca_enabled_check function is a wrapper around
api.Command.ca_is_enabled. When using remote_api (e.g. during
installer), ca_enabled_check invokes the *global* api instead of the
remote_api.
Update ca_enabled_check to explicitly receive an api object from the
caller and invoke Command.ca_is_enabled through it.
Part of: https://fedorahosted.org/freeipa/ticket/2614
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/install/installutils.py')
0 files changed, 0 insertions, 0 deletions