Am 11.04.24 um 11:29 schrieb Fiona Ebner:
> @@ -282,6 +293,7 @@ sub read_vzdump_defaults {
>       } keys %$confdesc_for_defaults
>      };
>      $parse_prune_backups_maxfiles->($defaults, "defaults in VZDump schema");
> +    parse_fleecing($defaults);
>      parse_performance($defaults);
>  
>      my $raw;
Forgot to mention there was a merge conflict here, because of 693b10f2
("vzdump: actually honor schema defaults for performance"). To avoid the
same issue with the fleecing property string, the hunk above was changed
in the same fashion to:

> @@ -299,6 +310,13 @@ sub read_vzdump_defaults {
>             defined($default) ? ($_ => $default) : ()
>         } keys $performance_fmt->%*
>      };
> +    my $fleecing_fmt = PVE::JSONSchema::get_format('backup-fleecing');
> +    $defaults->{fleecing} = {
> +       map {
> +           my $default = $fleecing_fmt->{$_}->{default};
> +           defined($default) ? ($_ => $default) : ()
> +       } keys $fleecing_fmt->%*
> +    };
>      $parse_prune_backups_maxfiles->($defaults, "defaults in VZDump schema");
>  
>      my $raw;



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to