Skip to content

Commit

Permalink
bump CSI spec to next version
Browse files Browse the repository at this point in the history
and fix the build failure
  • Loading branch information
huww98 committed Jun 18, 2024
1 parent 7c9c5fd commit d801e83
Show file tree
Hide file tree
Showing 6 changed files with 8,460 additions and 4,440 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/kubernetes-csi/csi-driver-host-path
go 1.21

require (
github.com/container-storage-interface/spec v1.9.0
github.com/container-storage-interface/spec v1.9.1-0.20240314114506-2696773158b9
github.com/golang/glog v1.2.1
github.com/golang/protobuf v1.5.4
github.com/kubernetes-csi/csi-lib-utils v0.17.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/container-storage-interface/spec v1.9.0 h1:zKtX4STsq31Knz3gciCYCi1SXtO2HJDecIjDVboYavY=
github.com/container-storage-interface/spec v1.9.0/go.mod h1:ZfDu+3ZRyeVqxZM0Ds19MVLkN2d1XJ5MAfi1L3VjlT0=
github.com/container-storage-interface/spec v1.9.1-0.20240314114506-2696773158b9 h1:5UgaRsvTkHbRDuDjMIC48samtUi8eHil0fzTutNLXLo=
github.com/container-storage-interface/spec v1.9.1-0.20240314114506-2696773158b9/go.mod h1:BoqFHNGrbQQUw8a2TOr2IFMWlfGStBwfh6RU1dqS6k8=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
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=
Expand Down
5 changes: 5 additions & 0 deletions pkg/hostpath/hostpath.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"path/filepath"
"sync"

"github.com/container-storage-interface/spec/lib/go/csi"
"github.com/golang/glog"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
Expand All @@ -49,6 +50,10 @@ const (
)

type hostPath struct {
csi.UnimplementedIdentityServer
csi.UnimplementedControllerServer
csi.UnimplementedNodeServer
csi.UnimplementedGroupControllerServer
config Config

// gRPC calls involving any of the fields below must be serialized
Expand Down

0 comments on commit d801e83

Please sign in to comment.