Skip to content

Commit 42d3716

Browse files
Aaina26azych
authored andcommitted
fixed the formatting
1 parent 268033a commit 42d3716

File tree

1 file changed

+2
-2
lines changed
  • staging/src/k8s.io/kubelet/pkg/cri/streaming/remotecommand

1 file changed

+2
-2
lines changed

staging/src/k8s.io/kubelet/pkg/cri/streaming/remotecommand/httpstream.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ limitations under the License.
1717
package remotecommand
1818

1919
import (
20+
"context"
2021
"encoding/json"
2122
"errors"
2223
"fmt"
2324
"io"
2425
"net/http"
2526
"time"
26-
"context"
2727

2828
api "k8s.io/api/core/v1"
2929
apierrors "k8s.io/apimachinery/pkg/api/errors"
@@ -423,7 +423,7 @@ func handleResizeEvents(reqctx context.Context, stream io.Reader, channel chan<-
423423
select {
424424
case channel <- size:
425425
case <-reqctx.Done():
426-
// To prevent go routine leak.
426+
// To prevent go routine leak.
427427
return
428428
}
429429
}

0 commit comments

Comments
 (0)