Disk quotas are measured in gigabytes.
authorEvan Broder <broder@mit.edu>
Tue, 17 Feb 2009 09:14:32 +0000 (04:14 -0500)
committerEvan Broder <broder@mit.edu>
Tue, 17 Feb 2009 09:14:32 +0000 (04:14 -0500)
svn path=/trunk/packages/invirt-database/; revision=2155

debian/changelog
python/database/owner.py

index 493fc08..bdbef60 100644 (file)
@@ -1,3 +1,9 @@
+invirt-database (0.1.7) unstable; urgency=low
+
+  * Disk quotas are measured in gigabytes.
+
+ -- Evan Broder <broder@mit.edu>  Tue, 17 Feb 2009 04:14:22 -0500
+
 invirt-database (0.1.6) unstable; urgency=low
 
   * Move invirt-setquotas into this package.
 invirt-database (0.1.6) unstable; urgency=low
 
   * Move invirt-setquotas into this package.
index 8526c22..196bd85 100755 (executable)
@@ -26,7 +26,7 @@ class Owner(object):
         if not f:
             f = MAX_VMS_ACTIVE
         return """<Owner %s: ram_quota_total=%s MB ram_quota_single=%s MB
         if not f:
             f = MAX_VMS_ACTIVE
         return """<Owner %s: ram_quota_total=%s MB ram_quota_single=%s MB
-disk_quota_total=%s MB disk_quota_single=%s MB
+disk_quota_total=%s GB disk_quota_single=%s GB
 vms_quota_total=%s vms_quota_active=%s >""" % (self.owner_id, a,b,c,d,e,f)
     def getMemoryQuotas(owner):
         owner_info = Owner.query().filter_by(owner_id=owner).first()
 vms_quota_total=%s vms_quota_active=%s >""" % (self.owner_id, a,b,c,d,e,f)
     def getMemoryQuotas(owner):
         owner_info = Owner.query().filter_by(owner_id=owner).first()