()
| 35 | } |
| 36 | |
| 37 | func (q SpaceQuota) FormattedAppInstanceLimit() string { |
| 38 | appInstanceLimit := T(UnlimitedDisplay) |
| 39 | if q.AppInstanceLimit != -1 { // TODO - figure out how to use resources.UnlimitedAppInstances |
| 40 | appInstanceLimit = strconv.Itoa(q.AppInstanceLimit) |
| 41 | } |
| 42 | |
| 43 | return appInstanceLimit |
| 44 | } |
| 45 | |
| 46 | func (q SpaceQuota) FormattedServicesLimit() string { |
| 47 | servicesLimit := T(UnlimitedDisplay) |
no outgoing calls
no test coverage detected