Ignore:
Timestamp:
Feb 17, 2009, 4:29:48 AM (16 years ago)
Author:
broder
Message:

Be explicit about units in invirt-setquota.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database/python/database/owner.py

    r2155 r2158  
    2626        if not f:
    2727            f = MAX_VMS_ACTIVE
    28         return """<Owner %s: ram_quota_total=%s MB ram_quota_single=%s MB
    29 disk_quota_total=%s GB disk_quota_single=%s GB
     28        return """<Owner %s: ram_quota_total=%s MiB ram_quota_single=%s MiB
     29disk_quota_total=%s GiB disk_quota_single=%s GiB
    3030vms_quota_total=%s vms_quota_active=%s >""" % (self.owner_id, a,b,c,d,e,f)
    3131    def getMemoryQuotas(owner):
Note: See TracChangeset for help on using the changeset viewer.