Be explicit about units in invirt-setquota.
[invirt/packages/invirt-database.git] / python / database / owner.py
index 196bd85..504a70f 100755 (executable)
@@ -25,8 +25,8 @@ class Owner(object):
             e = MAX_VMS_TOTAL
         if not f:
             f = MAX_VMS_ACTIVE
-        return """<Owner %s: ram_quota_total=%s MB ram_quota_single=%s MB
-disk_quota_total=%s GB disk_quota_single=%s GB
+        return """<Owner %s: ram_quota_total=%s MiB ram_quota_single=%s MiB
+disk_quota_total=%s GiB disk_quota_single=%s GiB
 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()