mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 04:50:23 +00:00
util: add UnimplementedControllerServer to default
Add UnimplementedControllerServer to the default implementation to avoid missing method error. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
3a61f24c1d
commit
e5d2d3eeb4
@ -29,6 +29,7 @@ import (
|
||||
// DefaultControllerServer points to default driver.
|
||||
type DefaultControllerServer struct {
|
||||
Driver *CSIDriver
|
||||
csi.UnimplementedControllerServer
|
||||
}
|
||||
|
||||
// ControllerPublishVolume publish volume on node.
|
||||
|
@ -29,6 +29,7 @@ import (
|
||||
// DefaultIdentityServer stores driver object.
|
||||
type DefaultIdentityServer struct {
|
||||
Driver *CSIDriver
|
||||
csi.UnimplementedControllerServer
|
||||
}
|
||||
|
||||
// GetPluginInfo returns plugin information.
|
||||
|
Loading…
Reference in New Issue
Block a user