MCPcopy
hub / github.com/cloudfoundry/cli / ignoreAPIVersion

Function ignoreAPIVersion

integration/helpers/version.go:124–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122}
123
124func ignoreAPIVersion() bool {
125 ignoreEnv := os.Getenv("CF_INT_IGNORE_API_VERSION_CHECK")
126 if ignoreEnv == "" {
127 return false
128 }
129
130 ignoreBool, err := strconv.ParseBool(ignoreEnv)
131 return ignoreBool || err != nil
132}
133
134type ccRoot struct {
135 Links struct {

Callers 1

SkipIfVersionLessThanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected