mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
vendor updates
This commit is contained in:
5
vendor/google.golang.org/grpc/encoding/gzip/gzip.go
generated
vendored
5
vendor/google.golang.org/grpc/encoding/gzip/gzip.go
generated
vendored
@ -30,6 +30,9 @@ import (
|
||||
"google.golang.org/grpc/encoding"
|
||||
)
|
||||
|
||||
// Name is the name registered for the gzip compressor.
|
||||
const Name = "gzip"
|
||||
|
||||
func init() {
|
||||
c := &compressor{}
|
||||
c.poolCompressor.New = func() interface{} {
|
||||
@ -84,7 +87,7 @@ func (z *reader) Read(p []byte) (n int, err error) {
|
||||
}
|
||||
|
||||
func (c *compressor) Name() string {
|
||||
return "gzip"
|
||||
return Name
|
||||
}
|
||||
|
||||
type compressor struct {
|
||||
|
Reference in New Issue
Block a user