public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Aaron Lauterer <a.lauterer@proxmox.com>
Subject: [pve-devel] applied: [PATCH flutter_frontend] PveLxcOptions: fix config.unprivileged is null behavior
Date: Mon, 16 Nov 2020 18:16:41 +0100	[thread overview]
Message-ID: <5a1d24c0-4f54-fcb2-b233-68aea149efa9@proxmox.com> (raw)
In-Reply-To: <20201116131051.14007-1-a.lauterer@proxmox.com>

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@proxmox.com>
> ---
>  lib/widgets/pve_lxc_options_widget.dart | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

applied, thanks!




      reply	other threads:[~2020-11-16 17:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 13:10 [pve-devel] " Aaron Lauterer
2020-11-16 17:16 ` Thomas Lamprecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a1d24c0-4f54-fcb2-b233-68aea149efa9@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=a.lauterer@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal