From 43367419ca0978d66eaeb9b6ae68f45101df8eaf Mon Sep 17 00:00:00 2001 From: KerryKovacevic <140824885+KerryKovacevic@users.noreply.github.com> Date: Mon, 4 Mar 2024 13:31:42 -0600 Subject: [PATCH] Go mod updates (#275) * Update go mod files * Fix lint issue --- csireverseproxy/go.mod | 2 +- csireverseproxy/go.sum | 4 ++-- go.mod | 20 ++++++++++---------- go.sum | 40 +++++++++++++++++++-------------------- service/step_defs_test.go | 3 ++- 5 files changed, 35 insertions(+), 34 deletions(-) diff --git a/csireverseproxy/go.mod b/csireverseproxy/go.mod index 752f2852..2b93e032 100644 --- a/csireverseproxy/go.mod +++ b/csireverseproxy/go.mod @@ -3,7 +3,7 @@ module revproxy/v2 go 1.22 require ( - github.com/dell/gopowermax/v2 v2.5.2-0.20240223103811-4e2941dc26dc + github.com/dell/gopowermax/v2 v2.6.0 github.com/fsnotify/fsnotify v1.4.9 github.com/gorilla/mux v1.7.3 github.com/kubernetes-csi/csi-lib-utils v0.9.1 diff --git a/csireverseproxy/go.sum b/csireverseproxy/go.sum index b17971dc..eb41f002 100644 --- a/csireverseproxy/go.sum +++ b/csireverseproxy/go.sum @@ -84,8 +84,8 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfc github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dell/gopowermax/v2 v2.5.2-0.20240223103811-4e2941dc26dc h1:OhEQFRpJ9+3mJDugGwHURrcLwYJ0rlxvACKZknaSyFo= -github.com/dell/gopowermax/v2 v2.5.2-0.20240223103811-4e2941dc26dc/go.mod h1:Z/DqRsmKztpvgkWnMzm/aHBvdbnoTfpzYhpsSQnLX7k= +github.com/dell/gopowermax/v2 v2.6.0 h1:MyenUGEt1EkGoBRwC1nYAC43yBd9LsowIIqiHOMqq5o= +github.com/dell/gopowermax/v2 v2.6.0/go.mod h1:Z/DqRsmKztpvgkWnMzm/aHBvdbnoTfpzYhpsSQnLX7k= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= diff --git a/go.mod b/go.mod index f723ba23..ee59d597 100644 --- a/go.mod +++ b/go.mod @@ -8,14 +8,14 @@ require ( github.com/coreos/go-systemd/v22 v22.5.0 github.com/cucumber/godog v0.12.6 github.com/cucumber/messages-go/v10 v10.0.3 - github.com/dell/dell-csi-extensions/common v1.3.1-0.20240222170059-da63843c4267 - github.com/dell/dell-csi-extensions/migration v1.3.1-0.20240222170059-da63843c4267 - github.com/dell/dell-csi-extensions/replication v1.6.1-0.20240222170059-da63843c4267 - github.com/dell/gobrick v1.9.1-0.20240222141837-aceadfa1e314 - github.com/dell/gocsi v1.9.1-0.20240222141900-bbe1412cfdb4 - github.com/dell/gofsutil v1.14.1-0.20240222142128-155ffcafc3ed - github.com/dell/goiscsi v1.8.1-0.20240222142227-6f79b2a9d272 - github.com/dell/gopowermax/v2 v2.5.2-0.20240223103811-4e2941dc26dc + github.com/dell/dell-csi-extensions/common v1.4.0 + github.com/dell/dell-csi-extensions/migration v1.4.0 + github.com/dell/dell-csi-extensions/replication v1.7.0 + github.com/dell/gobrick v1.10.0 + github.com/dell/gocsi v1.10.0 + github.com/dell/gofsutil v1.15.0 + github.com/dell/goiscsi v1.9.0 + github.com/dell/gopowermax/v2 v2.6.0 github.com/fsnotify/fsnotify v1.4.9 github.com/golang/protobuf v1.5.3 github.com/kubernetes-csi/csi-lib-utils v0.7.0 @@ -25,7 +25,7 @@ require ( github.com/vmware/govmomi v0.29.0 golang.org/x/net v0.17.0 google.golang.org/grpc v1.57.1 - google.golang.org/protobuf v1.31.0 + google.golang.org/protobuf v1.32.0 k8s.io/apimachinery v0.20.0 k8s.io/client-go v0.20.0 ) @@ -36,7 +36,7 @@ require ( github.com/cucumber/gherkin-go/v19 v19.0.3 // indirect github.com/cucumber/messages-go/v16 v16.0.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/dell/gonvme v1.5.0 // indirect + github.com/dell/gonvme v1.7.0 // indirect github.com/go-logr/logr v0.2.0 // indirect github.com/godbus/dbus/v5 v5.0.4 // indirect github.com/gofrs/uuid v4.4.0+incompatible // indirect diff --git a/go.sum b/go.sum index c4273a3c..31b9da29 100644 --- a/go.sum +++ b/go.sum @@ -103,24 +103,24 @@ github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dell/dell-csi-extensions/common v1.3.1-0.20240222170059-da63843c4267 h1:pHnDgMm0SfSMz14c9DgESyjaykvvBCR/HOKtYZ8MhXc= -github.com/dell/dell-csi-extensions/common v1.3.1-0.20240222170059-da63843c4267/go.mod h1:RLDVq6tz2yVzsX804Daopj/JBB147uqH2NKx6O3G0vA= -github.com/dell/dell-csi-extensions/migration v1.3.1-0.20240222170059-da63843c4267 h1:mqhYfPipTqBYoQqxpUrsE95Dy0+kU6sGIHVu+c88aF4= -github.com/dell/dell-csi-extensions/migration v1.3.1-0.20240222170059-da63843c4267/go.mod h1:eNQe8k7vyyVLHbXKTEL7cE0Enx7C/yiFeOIr52H412Y= -github.com/dell/dell-csi-extensions/replication v1.6.1-0.20240222170059-da63843c4267 h1:8PfN3e99Fbt4C7yCABhz+avNcPIkQEw7RvzrV5S5SBk= -github.com/dell/dell-csi-extensions/replication v1.6.1-0.20240222170059-da63843c4267/go.mod h1:Bv7XyxIGHrIAatwSp5XAvxI02hm+68w9sr9wyVJYvko= -github.com/dell/gobrick v1.9.1-0.20240222141837-aceadfa1e314 h1:boq12RbTLPtghGeVJ0pJh3CzvKZaEWA0WaoAXUujzaw= -github.com/dell/gobrick v1.9.1-0.20240222141837-aceadfa1e314/go.mod h1:FmMjKJLH/E/+Awo3QNh+3mhMHSNJQkQLkH8klje8Cmg= -github.com/dell/gocsi v1.9.1-0.20240222141900-bbe1412cfdb4 h1:NpViivo4dmUGjSm46MUTgqSN93ND33R/WrUGBKSUcbM= -github.com/dell/gocsi v1.9.1-0.20240222141900-bbe1412cfdb4/go.mod h1:RkBQHWKqPuRBDipBglo40bd5h6wBzQkU4QeRUFOeKcs= -github.com/dell/gofsutil v1.14.1-0.20240222142128-155ffcafc3ed h1:aoNDrp3PLvmz4sNYe9FiKtTeCOTrDi+mjbbKi7im/5U= -github.com/dell/gofsutil v1.14.1-0.20240222142128-155ffcafc3ed/go.mod h1:4oLq7yonvis4fKLRP0+VP7XAKcDeEdUEL3Fwqs5jgek= -github.com/dell/goiscsi v1.8.1-0.20240222142227-6f79b2a9d272 h1:0qDrRcK2p4sQ2TtsWP/2lg5F+7EGARnf63weQkgP32c= -github.com/dell/goiscsi v1.8.1-0.20240222142227-6f79b2a9d272/go.mod h1:NI/W/0O1UrMW2zVdMxy4z395Jn0r7utH6RQDFSZiFyQ= -github.com/dell/gonvme v1.5.0 h1:n73WeQSFaVOlAqjhtk5T3pbu7eZgMTLpPo8/8JymOJ8= -github.com/dell/gonvme v1.5.0/go.mod h1:7MFbd7lWSaQwR5pf9ZnVZqhkAKkveSwQEO67jDBZuX0= -github.com/dell/gopowermax/v2 v2.5.2-0.20240223103811-4e2941dc26dc h1:OhEQFRpJ9+3mJDugGwHURrcLwYJ0rlxvACKZknaSyFo= -github.com/dell/gopowermax/v2 v2.5.2-0.20240223103811-4e2941dc26dc/go.mod h1:Z/DqRsmKztpvgkWnMzm/aHBvdbnoTfpzYhpsSQnLX7k= +github.com/dell/dell-csi-extensions/common v1.4.0 h1:vZcKvr5EEZa4Gh2JRHSMR2xAES4C1yoZ1MMUrmAQwaA= +github.com/dell/dell-csi-extensions/common v1.4.0/go.mod h1:TEVaeIg7Yk1d1HorzFGiHyJhtaIPuSZc/gn1wZM0HhM= +github.com/dell/dell-csi-extensions/migration v1.4.0 h1:3KINn0kRW58YsyFdeEqVz02BtXYvDL7TXK5SngKUKcA= +github.com/dell/dell-csi-extensions/migration v1.4.0/go.mod h1:HeC8UO4P7SMSv6yvAM9u6RJSaPn5wcKGyO+/6fN2OuQ= +github.com/dell/dell-csi-extensions/replication v1.7.0 h1:kBIN91grXev54CyRFB17nVwFUSagG5y1RZB/4WWbATc= +github.com/dell/dell-csi-extensions/replication v1.7.0/go.mod h1:gYaWz/MpCxaXxzXYdXaJqYA7QXIyg4OaFT3vff6d46Y= +github.com/dell/gobrick v1.10.0 h1:qqR2mmgchxRny/LWt2Ic59u3g/GHH8xs0bzQb7oS/DA= +github.com/dell/gobrick v1.10.0/go.mod h1:FmMjKJLH/E/+Awo3QNh+3mhMHSNJQkQLkH8klje8Cmg= +github.com/dell/gocsi v1.10.0 h1:X3HQ4/Fx1bm857L497AF/uGCPiw1BB4OE4TpQYvsBEI= +github.com/dell/gocsi v1.10.0/go.mod h1:RkBQHWKqPuRBDipBglo40bd5h6wBzQkU4QeRUFOeKcs= +github.com/dell/gofsutil v1.15.0 h1:u+t+Xf6MJNw+8YzR9TzbWSfgy8dowOKUMBRMsiI4xDA= +github.com/dell/gofsutil v1.15.0/go.mod h1:bZ43qAOqKzGJxCRvkTVD7GCFMNkK37ur84mmMuxQshE= +github.com/dell/goiscsi v1.9.0 h1:VvMHbAO4vk80oc/TAbQPYlxysscCqVBW78GyPoUxgik= +github.com/dell/goiscsi v1.9.0/go.mod h1:NI/W/0O1UrMW2zVdMxy4z395Jn0r7utH6RQDFSZiFyQ= +github.com/dell/gonvme v1.7.0 h1:ztJFhKQehZjfaoNv+hTbGbdhLWCAhPE44k1v7x5o2c0= +github.com/dell/gonvme v1.7.0/go.mod h1:ajbuF+fswq+ty2tRTG5FN4ecIMJsG7aDu/bkMynTKAs= +github.com/dell/gopowermax/v2 v2.6.0 h1:MyenUGEt1EkGoBRwC1nYAC43yBd9LsowIIqiHOMqq5o= +github.com/dell/gopowermax/v2 v2.6.0/go.mod h1:Z/DqRsmKztpvgkWnMzm/aHBvdbnoTfpzYhpsSQnLX7k= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= @@ -751,8 +751,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= +google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/service/step_defs_test.go b/service/step_defs_test.go index 0bbe177f..d12e250d 100644 --- a/service/step_defs_test.go +++ b/service/step_defs_test.go @@ -2013,7 +2013,8 @@ func parseListVolumesTable(dt *messages.PickleStepArgument_PickleTable) (int32, if err != nil { return 0, "", fmt.Errorf("expected a valid number for max_entries, got %v", err) } - maxEntries = int32(n) // #nosec G109 + // #nosec G109 + maxEntries = int32(n) case "starting_token": startingToken = dt.Rows[1].Cells[i].Value default: