[pdm-devel] [PATCH proxmox-api-types 1/7] add QemuMigratePreconditionsNotAllowedNodesBlockingHaResources struct

Dominik Csapak d.csapak at proxmox.com
Wed Aug 27 13:58:55 CEST 2025


i don't think this is necessary as this is already there in current master ?

On 8/27/25 1:34 PM, Stefan Hanreich wrote:
> required for the generated rust code to compile succesfully with the
> API definitions from PVE 9.
> 
> Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
> ---
>   pve-api-types/generate.pl | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/pve-api-types/generate.pl b/pve-api-types/generate.pl
> index b761a88..64f1555 100644
> --- a/pve-api-types/generate.pl
> +++ b/pve-api-types/generate.pl
> @@ -301,6 +301,8 @@ Schema2Rust::derive('ListRealm' => 'Clone', 'PartialEq');
>   api(POST => '/access/users/{userid}/token/{tokenid}', 'create_token', 'param-name' => 'CreateToken');
>   Schema2Rust::derive('CreateToken' => 'Default');
>   
> +Schema2Rust::derive('QemuMigratePreconditionsNotAllowedNodesBlockingHaResources' => 'Clone', 'PartialEq');
> +
>   # NOW DUMP THE CODE:
>   #
>   # We generate one file for API types, and one for API method calls.





More information about the pdm-devel mailing list