mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Fix short buffer error in get test
This commit is contained in:
parent
8c3b7d7679
commit
fe339d2420
@ -38,7 +38,6 @@ import (
|
||||
metav1beta1 "k8s.io/apimachinery/pkg/apis/meta/v1beta1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
"k8s.io/apimachinery/pkg/runtime/serializer/json"
|
||||
"k8s.io/apimachinery/pkg/runtime/serializer/streaming"
|
||||
"k8s.io/apimachinery/pkg/util/diff"
|
||||
"k8s.io/apimachinery/pkg/watch"
|
||||
@ -1649,5 +1648,5 @@ func watchBody(codec runtime.Codec, events []watch.Event) io.ReadCloser {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
return json.Framer.NewFrameReader(ioutil.NopCloser(buf))
|
||||
return ioutil.NopCloser(buf)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user