Replace PathPrefixStrip by PathPrefix in k8s

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-05-05 19:57:35 +02:00
parent be209ed30c
commit d89279d708
No known key found for this signature in database
GPG key ID: D808B4C167352E59
2 changed files with 6 additions and 6 deletions

View file

@ -143,7 +143,7 @@ func TestLoadIngresses(t *testing.T) {
PassHostHeader: true,
Routes: map[string]types.Route{
"/bar": {
Rule: "PathPrefixStrip:/bar",
Rule: "PathPrefix:/bar",
},
"foo": {
Rule: "Host:foo",
@ -239,7 +239,7 @@ func TestGetPassHostHeader(t *testing.T) {
Backend: "foo/bar",
Routes: map[string]types.Route{
"/bar": {
Rule: "PathPrefixStrip:/bar",
Rule: "PathPrefix:/bar",
},
"foo": {
Rule: "Host:foo",
@ -423,7 +423,7 @@ func TestLoadNamespacedIngresses(t *testing.T) {
PassHostHeader: true,
Routes: map[string]types.Route{
"/bar": {
Rule: "PathPrefixStrip:/bar",
Rule: "PathPrefix:/bar",
},
"foo": {
Rule: "Host:foo",
@ -651,7 +651,7 @@ func TestLoadMultipleNamespacedIngresses(t *testing.T) {
PassHostHeader: true,
Routes: map[string]types.Route{
"/bar": {
Rule: "PathPrefixStrip:/bar",
Rule: "PathPrefix:/bar",
},
"foo": {
Rule: "Host:foo",
@ -672,7 +672,7 @@ func TestLoadMultipleNamespacedIngresses(t *testing.T) {
PassHostHeader: true,
Routes: map[string]types.Route{
"/quix": {
Rule: "PathPrefixStrip:/quix",
Rule: "PathPrefix:/quix",
},
"awesome": {
Rule: "Host:awesome",