Fix gofmt check

Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
z1cheng 2023-06-28 16:14:05 +00:00 committed by k8s-infra-cherrypick-robot
parent 2bbd69e0d9
commit 4b6d0c0738
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ func execToWriter(args []string, writer io.Writer) error {
return err return err
} }
go func () { go func() {
if _, err := io.Copy(writer, op); err != nil { if _, err := io.Copy(writer, op); err != nil {
fmt.Printf("Error copying output: %v\n", err) fmt.Printf("Error copying output: %v\n", err)
} }

View file

@ -3,8 +3,8 @@ package k8s
import ( import (
"bytes" "bytes"
"context" "context"
"errors"
"crypto/rand" "crypto/rand"
"errors"
"testing" "testing"
"time" "time"