()
| 28 | } |
| 29 | |
| 30 | func (q SpaceQuota) FormattedInstanceMemoryLimit() string { |
| 31 | if q.InstanceMemoryLimit == -1 { |
| 32 | return T(UnlimitedDisplay) |
| 33 | } |
| 34 | return formatters.ByteSize(q.InstanceMemoryLimit * formatters.MEGABYTE) |
| 35 | } |
| 36 | |
| 37 | func (q SpaceQuota) FormattedAppInstanceLimit() string { |
| 38 | appInstanceLimit := T(UnlimitedDisplay) |