[pbs-devel] applied: [PATCH proxmox-backup] apt: use typed response for get_versions

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 12 10:18:03 CET 2020


On 12.11.20 10:12, Stefan Reiter wrote:
> ...and cleanup get_versions for manager CLI.
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> 
> No need to return an untyped Value, especially if we want to further work with
> it, so how about this for a cleanup?
> 
>  src/api2/node/apt.rs              |  4 ++--
>  src/bin/proxmox-backup-manager.rs | 10 ++--------
>  2 files changed, 4 insertions(+), 10 deletions(-)
> 
>

much nicer, and the obvious solution; I'd guess it was a bit to late for me yesterday ^^ 

applied, thanks!





More information about the pbs-devel mailing list