Skip to content

Commit

Permalink
fix: missing embedded csi.Unimplemented*Server
Browse files Browse the repository at this point in the history
  • Loading branch information
1602077 committed Sep 13, 2024
1 parent 1f994ee commit b5a32f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/cvmfs/controller/csiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
// Server implements csi.ControllerServer interface.
type Server struct {
caps []*csi.ControllerServiceCapability
csi.UnimplementedControllerServer
}

var _ csi.ControllerServer = (*Server)(nil)
Expand Down
1 change: 1 addition & 0 deletions internal/cvmfs/identity/csiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
type Server struct {
driverName string
caps []*csi.PluginCapability
csi.UnimplementedIdentityServer
}

var _ csi.IdentityServer = (*Server)(nil)
Expand Down
2 changes: 2 additions & 0 deletions internal/cvmfs/node/csiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ import (
"github.com/container-storage-interface/spec/lib/go/csi"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

)

// Server implements csi.NodeServer interface.
type Server struct {
nodeID string
singlemountRunnerEndpoint string
caps []*csi.NodeServiceCapability
csi.UnimplementedNodeServer
}

const (
Expand Down

0 comments on commit b5a32f0

Please sign in to comment.