(route models.Route, path string, port int)
| 120 | } |
| 121 | |
| 122 | func doesNotMatchVersionSpecificAttributes(route models.Route, path string, port int) bool { |
| 123 | return normalizedPath(route.Path) != normalizedPath(path) || route.Port != port |
| 124 | } |
| 125 | |
| 126 | func (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) |