SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
remove github.com/golang/protobuf/proto
chrislu1516e0249f5c
diff --git a/go.mod b/go.modindex 06c317d0c7..60d6373c98 100644--- a/go.mod+++ b/go.mod@@ -38,7 +38,7 @@ require (github.com/gocql/gocql v1.6.0github.com/golang-jwt/jwt v3.2.2+incompatible // indirectgithub.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect- github.com/golang/protobuf v1.5.3+ github.com/golang/protobuf v1.5.3 // indirectgithub.com/golang/snappy v0.0.4 // indirectgithub.com/google/btree v1.1.2github.com/google/uuid v1.6.0@@ -151,7 +151,6 @@ require (github.com/hashicorp/raft v1.6.0github.com/hashicorp/raft-boltdb/v2 v2.3.0github.com/orcaman/concurrent-map/v2 v2.0.1- github.com/puzpuzpuz/xsync/v2 v2.5.1github.com/rabbitmq/amqp091-go v1.9.0github.com/rclone/rclone v1.65.2github.com/rdleal/intervalst v1.3.0diff --git a/go.sum b/go.sumindex 3e232d28ee..adb2670174 100644--- a/go.sum+++ b/go.sum@@ -789,8 +789,6 @@ github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKgithub.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=github.com/putdotio/go-putio/putio v0.0.0-20200123120452-16d982cac2b8 h1:Y258uzXU/potCYnQd1r6wlAnoMB68BiCkCcCnKx1SH8=github.com/putdotio/go-putio/putio v0.0.0-20200123120452-16d982cac2b8/go.mod h1:bSJjRokAHHOhA+XFxplld8w2R/dXLH7Z3BZ532vhFwU=-github.com/puzpuzpuz/xsync/v2 v2.5.1 h1:mVGYAvzDSu52+zaGyNjC+24Xw2bQi3kTr4QJ6N9pIIU=-github.com/puzpuzpuz/xsync/v2 v2.5.1/go.mod h1:gD2H2krq/w52MfPLE+Uy64TzJDVY7lP2znR9qmR35kU=github.com/quic-go/qtls-go1-20 v0.3.4 h1:MfFAPULvst4yoMgY9QmtpYmfij/em7O8UUi+bNVm7Cg=github.com/quic-go/qtls-go1-20 v0.3.4/go.mod h1:X9Nh97ZL80Z+bX/gUXMbipO6OxdiDi58b/fMC9mAL+k=github.com/quic-go/quic-go v0.39.3 h1:o3YB6t2SR+HU/pgwF29kJ6g4jJIJEwEZ8CKia1h1TKg=diff --git a/weed/shell/command_volume_list_test.go b/weed/shell/command_volume_list_test.goindex 1c83682294..b2fe9c8620 100644--- a/weed/shell/command_volume_list_test.go+++ b/weed/shell/command_volume_list_test.go@@ -5,8 +5,9 @@ import ("github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding""github.com/seaweedfs/seaweedfs/weed/storage/types""github.com/stretchr/testify/assert"- //"google.golang.org/protobuf/proto"- "github.com/golang/protobuf/proto"+ // "google.golang.org/protobuf/proto"+ //"github.com/golang/protobuf/proto"+ jsonpb "google.golang.org/protobuf/encoding/protojson""strconv""strings""testing"@@ -91,7 +92,7 @@ func parseOutput(output string) *master_pb.TopologyInfo {case "volume":volumeLine := line[len("volume "):]volume := &master_pb.VolumeInformationMessage{}- proto.UnmarshalText(volumeLine, volume)+ jsonpb.Unmarshal([]byte(volumeLine), volume)disk.VolumeInfos = append(disk.VolumeInfos, volume)case "ec":ecVolumeLine := line[len("ec volume "):]