mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Enable running API commands in ipa-advise plugins
https://fedorahosted.org/freeipa/ticket/3671 https://fedorahosted.org/freeipa/ticket/3672
This commit is contained in:
committed by
Martin Kosek
parent
fc3f3c90b9
commit
efe5a96725
@@ -163,7 +163,9 @@ class IpaAdvise(admintool.AdminTool):
|
||||
advice.set_options(self.options)
|
||||
|
||||
# Print out the actual advice
|
||||
api.Backend.xmlclient.connect()
|
||||
advice.get_info()
|
||||
api.Backend.xmlclient.disconnect()
|
||||
for line in advice.log.content:
|
||||
print line
|
||||
|
||||
|
||||
Reference in New Issue
Block a user