Update go mod and vendor in client dir to 0.28.0
This commit is contained in:
2
client/vendor/k8s.io/apimachinery/pkg/util/framer/framer.go
generated
vendored
2
client/vendor/k8s.io/apimachinery/pkg/util/framer/framer.go
generated
vendored
@@ -32,7 +32,7 @@ func NewLengthDelimitedFrameWriter(w io.Writer) io.Writer {
|
||||
return &lengthDelimitedFrameWriter{w: w}
|
||||
}
|
||||
|
||||
// Write writes a single frame to the nested writer, prepending it with the length in
|
||||
// Write writes a single frame to the nested writer, prepending it with the length
|
||||
// in bytes of data (as a 4 byte, bigendian uint32).
|
||||
func (w *lengthDelimitedFrameWriter) Write(data []byte) (int, error) {
|
||||
binary.BigEndian.PutUint32(w.h[:], uint32(len(data)))
|
||||
|
Reference in New Issue
Block a user