MCPcopy Create free account
hub / github.com/cloudfoundry/cli / IsHostEmpty

Method IsHostEmpty

cf/models/application.go:213–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211}
212
213func (app *AppParams) IsHostEmpty() bool {
214 return app.Hosts == nil || len(app.Hosts) == 0
215}
216
217func (app *AppParams) IsNoHostnameTrue() bool {
218 if app.NoHostname == nil {

Callers 2

updateRoutesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected