[pve-devel] applied: [PATCH flutter_frontend] PveLxcOptions: fix config.unprivileged is null behavior

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 16 18:16:41 CET 2020


On 16.11.20 14:10, Aaron Lauterer wrote:
> If config.unprivileged is null we should set it to the default (false)
> so the ternary operator evaluates correctly.
> 
> Otherwise the LXC options screen shows "Failed assertion: boolean
> expression must not be null" if the unprivileged config option is not
> present in the config file.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
>  lib/widgets/pve_lxc_options_widget.dart | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list