[pve-devel] applied: [PATCH manager stable-7] pve7to8: content-dirs check: skip paths that cannot be resolved

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jun 15 16:47:44 CEST 2023


Am 15/06/2023 um 15:22 schrieb Friedrich Weber:
> The current inequality check for content-dirs does not correctly
> handle the case in which `abs_path` returns undef. This can result in
> confusing warnings:
> 
>   storage [...] uses directory  for multiple content types [...]
> 
> Fix this by skipping paths for which `abs_path` returns undef. This
> matches the behavior of the actual content-dirs check in PVE 8 [0].
> 
> [0]: https://git.proxmox.com/?p=pve-storage.git;a=commit;h=09f1f847a
> 
> Fixes: ea0a4f1943ffafe94282afc800d5720db45df198
> Signed-off-by: Friedrich Weber <f.weber at proxmox.com>
> ---
>  PVE/CLI/pve7to8.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list