Kubernetes-commit: d55d6175f8e2cfdab0b79aac72046a652c2eb515
This commit is contained in:
Mike Danese 2020-01-27 18:19:44 -08:00 committed by Kubernetes Publisher
parent febbd3def6
commit 5252eb1dd9
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ package rawhttp
import (
"bytes"
"context"
"fmt"
"io"
"io/ioutil"
@ -80,7 +81,7 @@ func raw(restClient *rest.RESTClient, streams genericclioptions.IOStreams, url,
return fmt.Errorf("unknown requestType: %q", requestType)
}
stream, err := request.Stream()
stream, err := request.Stream(context.TODO())
if err != nil {
return err
}