Enable kubectl proxy to set tcp keepalive

This commit is contained in:
xuzhonghu
2018-05-14 20:11:43 +08:00
parent 7a9a30a4f7
commit 204d994aca
3 changed files with 13 additions and 17 deletions

View File

@@ -452,7 +452,7 @@ func TestPathHandling(t *testing.T) {
for _, tt := range table {
t.Run(tt.name, func(t *testing.T) {
p, err := NewServer("", tt.prefix, "/not/used/for/this/test", nil, cc)
p, err := NewServer("", tt.prefix, "/not/used/for/this/test", nil, cc, 0)
if err != nil {
t.Fatalf("%#v: %v", tt, err)
}