Skip to content

Commit

Permalink
util: add UnimplementedControllerServer to default
Browse files Browse the repository at this point in the history
Add UnimplementedControllerServer to the default
implementation to avoid missing method
error.

Signed-off-by: Madhu Rajanna <[email protected]>
  • Loading branch information
Madhu-1 committed Oct 21, 2023
1 parent 1998228 commit a48e328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/csi-common/controllerserver-default.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
// DefaultControllerServer points to default driver.
type DefaultControllerServer struct {
Driver *CSIDriver
csi.UnimplementedControllerServer
}

// ControllerPublishVolume publish volume on node.
Expand Down
1 change: 1 addition & 0 deletions internal/csi-common/identityserver-default.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
// DefaultIdentityServer stores driver object.
type DefaultIdentityServer struct {
Driver *CSIDriver
csi.UnimplementedControllerServer
}

// GetPluginInfo returns plugin information.
Expand Down

0 comments on commit a48e328

Please sign in to comment.