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

Function doesNotMatchVersionSpecificAttributes

cf/api/routes.go:122–124  ·  view source on GitHub ↗
(route models.Route, path string, port int)

Source from the content-addressed store, hash-verified

120}
121
122func doesNotMatchVersionSpecificAttributes(route models.Route, path string, port int) bool {
123 return normalizedPath(route.Path) != normalizedPath(path) || route.Port != port
124}
125
126func (repo CloudControllerRouteRepository) Create(host string, domain models.DomainFields, path string, port int, useRandomPort bool) (createdRoute models.Route, apiErr error) {
127 return repo.CreateInSpace(host, path, domain.GUID, repo.config.SpaceFields().GUID, port, useRandomPort)

Callers 1

FindMethod · 0.85

Calls 1

normalizedPathFunction · 0.85

Tested by

no test coverage detected