Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipaclient.plugins: Use api_version from internally called commands #313

Closed
wants to merge 1 commit into from
Closed

ipaclient.plugins: Use api_version from internally called commands #313

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 6, 2016

@ghost ghost requested a review from HonzaCholasta December 9, 2016 07:19
@MartinBasti
Copy link
Contributor

Can you please provide better commit description in commit message? What, why and how it fixes? Think about our future us when we will be doing git archaeology

In client plugins make sure the api_version is 'inherited' from server command
that is internally called. Otherwise the api_version is obtained from client
API instance. When calling server command from client command 'version' is
passed in options and it overrides the right one. Server then refuses to handle
such call.

https://fedorahosted.org/freeipa/ticket/6539
@MartinBasti
Copy link
Contributor

Works for me

@MartinBasti MartinBasti added ack Pull Request approved, can be merged pushed Pull Request has already been pushed labels Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
1 participant