MCPcopy Index your code
hub / github.com/cloudfoundry/cli / InstanceMemoryLimit

Function InstanceMemoryLimit

cf/formatters/memoryLimit.go:5–11  ·  view source on GitHub ↗
(limit int64)

Source from the content-addressed store, hash-verified

3import "strconv"
4
5func InstanceMemoryLimit(limit int64) string {
6 if limit == -1 {
7 return "unlimited"
8 }
9
10 return strconv.FormatInt(limit, 10) + "M"
11}

Callers 2

ExecuteMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected