[ 
https://issues.apache.org/jira/browse/NIFI-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-4812.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 
1.x release line. Marking as resolved as part of a cleanup operation. Please 
open a new one with an updated description if this is still relevant for NiFi 
2.x.

> delete_registry_client call only accepts ID, but endpoint also expects 
> Revision
> -------------------------------------------------------------------------------
>
>                 Key: NIFI-4812
>                 URL: https://issues.apache.org/jira/browse/NIFI-4812
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Flow Versioning
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Daniel Chaffelson
>            Priority: Minor
>
> Using the Swagger Generated Python Client.
> When the delete_registry_client command is called from the ControllerApi(), 
> the arguments expected by NiFi (id, version) and the arguments allowed by 
> swagger (id only) do not match, resulting in a failure.
> {code:java}
> ControllerApi().delete_registry_client(test_client.id)
> HTTP response body: The revision must be specified.
> ControllerApi().delete_registry_client(test_client.id, test_client.revision)
> TypeError: delete_registry_client() takes exactly 2 arguments (3 given)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to