[pve-devel] [PATCH manager] correctly set 'nowritecache' on zfsplugin

Dietmar Maurer dietmar at proxmox.com
Wed Feb 22 18:21:19 CET 2017


>                      values.enable = values.disable ? 0 : 1;
> +		    // reverse the logic for the checkbox
> +		    values.nowritecache = values.nowritecache == '0'?'1':'0';

It would be much nicer if this gets handled by the form element itself ...

But we can apply this unless we have a better solution.




More information about the pve-devel mailing list