From 402f834d7ade0b065f0f84531baf7e83880c2dd4 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Fri, 4 Jun 2021 08:57:28 +0200 Subject: [PATCH] Revert "Cleanup portforward streams after their usage" This reverts commit a1ee076d5f4a3965afe43d0bc23096dfdc170448. A regression has been introduced with this patch. The strategy is to apply the fix on master and revert on the release branches. Kubernetes-commit: 21900bc5f5c64850507b18e9fe9533019116f0c3 --- tools/portforward/portforward_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/portforward/portforward_test.go b/tools/portforward/portforward_test.go index 034be748f..5b9afabea 100644 --- a/tools/portforward/portforward_test.go +++ b/tools/portforward/portforward_test.go @@ -68,9 +68,6 @@ func (c *fakeConnection) CloseChan() <-chan bool { return c.closeChan } -func (c *fakeConnection) RemoveStreams(_ ...httpstream.Stream) { -} - func (c *fakeConnection) SetIdleTimeout(timeout time.Duration) { // no-op }