[pbs-devel] applied-series: [PATCH v2 proxmox-backup 1/3] api types: version: drop unused `repoid` field

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Dec 2 15:30:08 CET 2024


Am 28.11.24 um 17:07 schrieb Christian Ebner:
> The `ApiVersion` type was introduced in commit a926803b
> ("api/api-types: refactor api endpoint version, add api types")
> including the `repoid`, added for completeness when converting from
> a pre-existing `ApiVersionInfo` instance, as returned by the
> `version` api endpoint.
> 
> Drop the additional `repoid` field, since this is currently not used,
> can be obtained fro the `ApiVersionInfo` as well and only hinders the
> implementation for easy api version comparison.
> 
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
> changes since version 1:
> - not present in previous version
> 
>  pbs-api-types/src/version.rs | 2 --
>  1 file changed, 2 deletions(-)
> 
>

applied all three patches, it's really nicer this way, thanks!




More information about the pbs-devel mailing list