Bug #12332
closed
Added by Félix DALLIDET over 6 years ago.
Updated over 6 years ago.
Description
The API has 2 methods defined with the same name, it does not broke the API because the args are differents but the cli can not choose the right function to execute.
"listDirectives" appears 2 times: one for list all directives and one for list all directives given from a technique name.
This last function should have a different name.
- Target version set to 4.1.11
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/1886
- Status changed from Pending technical review to Discussion
- Assignee changed from François ARMAND to Félix DALLIDET
- Status changed from Discussion to Pending technical review
- Assignee changed from Félix DALLIDET to François ARMAND
François is right, I do think rudder-cli parse the rudder-api documentation to generate its option !!
- Status changed from Pending technical review to In progress
- Assignee changed from François ARMAND to Félix DALLIDET
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Vincent MEMBRÉ
- Pull Request changed from https://github.com/Normation/rudder/pull/1886 to https://github.com/Normation/rudder-api-doc/pull/47
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.11, 4.2.5 and 4.3.0~rc3 which were released today.
Also available in: Atom
PDF