mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +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.
|
// DefaultControllerServer points to default driver.
|
||||||
type DefaultControllerServer struct {
|
type DefaultControllerServer struct {
|
||||||
Driver *CSIDriver
|
Driver *CSIDriver
|
||||||
|
csi.UnimplementedControllerServer
|
||||||
}
|
}
|
||||||
|
|
||||||
// ControllerPublishVolume publish volume on node.
|
// ControllerPublishVolume publish volume on node.
|
||||||
|
@ -29,6 +29,7 @@ import (
|
|||||||
// DefaultIdentityServer stores driver object.
|
// DefaultIdentityServer stores driver object.
|
||||||
type DefaultIdentityServer struct {
|
type DefaultIdentityServer struct {
|
||||||
Driver *CSIDriver
|
Driver *CSIDriver
|
||||||
|
csi.UnimplementedControllerServer
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetPluginInfo returns plugin information.
|
// GetPluginInfo returns plugin information.
|
||||||
|
Loading…
Reference in New Issue
Block a user