Skip to content

Commit

Permalink
moved relative redirects to group redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
chriss-de committed Oct 22, 2024
1 parent 1da8e82 commit 8b5999b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions pkg/apis/ingress/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,6 @@ type Location struct {
// UsePortInRedirects indicates if redirects must specify the port
// +optional
UsePortInRedirects bool `json:"usePortInRedirects"`
// RelativeRedirects indicates if redirects are relative and NOT absolute
// +optional
RelativeRedirects bool `json:"relativeRedirects"`
// ConfigurationSnippet contains additional configuration for the backend
// to be considered in the configuration of the location
ConfigurationSnippet string `json:"configurationSnippet"`
Expand Down
4 changes: 0 additions & 4 deletions pkg/apis/ingress/types_equals.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,6 @@ func (l1 *Location) Equal(l2 *Location) bool {
return false
}

if l1.RelativeRedirects != l2.RelativeRedirects {
return false
}

return true
}

Expand Down

0 comments on commit 8b5999b

Please sign in to comment.