[Ovirt-devel] [patch] fix nil (unlimited) quota attribute behavior

Hugh O. Brock hbrock at redhat.com
Tue Mar 25 13:58:29 UTC 2008


On Tue, Mar 25, 2008 at 09:47:32AM -0400, Scott Seago wrote:
> This patch fixes quota-limiting behavior for omitted parameters. Proper 
> quota enforcment only restricts resources on those parameters that are 
> specified. If 'memory' ,for example, is left blank, then the quota 
> shouldn't enforce memory limits. Empty strings were throwing off the unit 
> conversion methods, resulting in empty values being reset to 0.
>
> Scott

> diff --git a/wui/src/app/util/ovirt.rb b/wui/src/app/util/ovirt.rb
> index 36fd613..9024333 100644

Looks good...

ACK

--H




More information about the ovirt-devel mailing list