Re: [virt-manager PATCH] delete: disable storage removal by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 17, 2014 at 06:25:18PM +0800, Chen Hanxiao wrote:
>
>
> > -----Original Message-----
> > From: Martin Kletzander [mailto:mkletzan@xxxxxxxxxx]
> > Sent: Monday, February 17, 2014 6:10 PM
> > To: Chen Hanxiao
> > Cc: virt-tools-list@xxxxxxxxxx
> > Subject: Re:  [virt-manager PATCH] delete: disable
> storage
> > removal by default
> >
> > On Mon, Feb 17, 2014 at 01:05:29AM -0500, Chen Hanxiao wrote:
> > > We should disable storage removal by default
> > > and let user select it.
> > >
> >
> > We chose to default it to True since there is a confirmation needed
> > anyway.  Look at the commit b2a7c396 (git blame on master on the line
> > you've changed).
> >
> > If you really need it not to be selected by default, please make it
> > configurable.  Although it'll add a lot of unnecessary code :(
> >
> > Martin
> >
>
> Thanks for your clarification.
>
> The comments above that line really confused me.
> We don't need to make it configurable thought,
> but how about change that improper comments to something like:
>
> -   # Disable storage removal by default
> +   #Enable storage removal by default
>

Oh, I haven't noticed that comment at all, shame on me.  This is my
fault and it should've been changed in that commit as well.  You can
push it as a trivial (just please keep the space at the start of the
comment).

Martin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux