Skip to content

Commit a085ea1

Browse files
committed
get rid of remaining github.com/golang/protobuf
1 parent 36e3fcb commit a085ea1

File tree

12 files changed

+9
-1145
lines changed

12 files changed

+9
-1145
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ go 1.22.5
44

55
require (
66
github.com/container-storage-interface/spec v1.10.0
7-
github.com/golang/protobuf v1.5.4
87
github.com/stretchr/testify v1.9.0
98
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.0
109
go.opentelemetry.io/otel/trace v1.28.0
@@ -30,6 +29,7 @@ require (
3029
github.com/go-openapi/swag v0.22.4 // indirect
3130
github.com/gogo/protobuf v1.3.2 // indirect
3231
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
32+
github.com/golang/protobuf v1.5.4 // indirect
3333
github.com/google/gnostic-models v0.6.8 // indirect
3434
github.com/google/go-cmp v0.6.0 // indirect
3535
github.com/google/gofuzz v1.2.0 // indirect

protosanitizer/protosanitizer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"testing"
2222

2323
"github.com/container-storage-interface/spec/lib/go/csi"
24-
"github.com/golang/protobuf/proto"
2524
"github.com/kubernetes-csi/csi-lib-utils/protosanitizer/test/csitest"
2625
"github.com/stretchr/testify/assert"
26+
"google.golang.org/protobuf/proto"
2727
)
2828

2929
func TestStripSecrets(t *testing.T) {

rpc/common_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ import (
3030
"google.golang.org/grpc"
3131
"google.golang.org/grpc/codes"
3232
"google.golang.org/grpc/status"
33+
"google.golang.org/protobuf/types/known/wrapperspb"
3334

3435
"github.com/container-storage-interface/spec/lib/go/csi"
35-
"github.com/golang/protobuf/ptypes/wrappers"
3636
"github.com/kubernetes-csi/csi-lib-utils/connection"
3737
"github.com/kubernetes-csi/csi-lib-utils/metrics"
3838
"github.com/stretchr/testify/require"
@@ -513,7 +513,7 @@ func TestProbeForever(t *testing.T) {
513513
probeCalls: []probeCall{
514514
{
515515
response: &csi.ProbeResponse{
516-
Ready: &wrappers.BoolValue{Value: true},
516+
Ready: &wrapperspb.BoolValue{Value: true},
517517
},
518518
},
519519
},
@@ -562,7 +562,7 @@ func TestProbeForever(t *testing.T) {
562562
},
563563
{
564564
response: &csi.ProbeResponse{
565-
Ready: &wrappers.BoolValue{Value: true},
565+
Ready: &wrapperspb.BoolValue{Value: true},
566566
},
567567
},
568568
},
@@ -573,7 +573,7 @@ func TestProbeForever(t *testing.T) {
573573
probeCalls: []probeCall{
574574
{
575575
response: &csi.ProbeResponse{
576-
Ready: &wrappers.BoolValue{Value: false},
576+
Ready: &wrapperspb.BoolValue{Value: false},
577577
},
578578
},
579579
{
@@ -587,17 +587,17 @@ func TestProbeForever(t *testing.T) {
587587
probeCalls: []probeCall{
588588
{
589589
response: &csi.ProbeResponse{
590-
Ready: &wrappers.BoolValue{Value: false},
590+
Ready: &wrapperspb.BoolValue{Value: false},
591591
},
592592
},
593593
{
594594
response: &csi.ProbeResponse{
595-
Ready: &wrappers.BoolValue{Value: false},
595+
Ready: &wrapperspb.BoolValue{Value: false},
596596
},
597597
},
598598
{
599599
response: &csi.ProbeResponse{
600-
Ready: &wrappers.BoolValue{Value: true},
600+
Ready: &wrapperspb.BoolValue{Value: true},
601601
},
602602
},
603603
},

vendor/github.com/golang/protobuf/descriptor/descriptor.go

Lines changed: 0 additions & 180 deletions
This file was deleted.

0 commit comments

Comments
 (0)