mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
build: address interfacer
warning
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
9271375028
commit
2ab3e40369
@ -69,6 +69,8 @@ func NewCSIDriver(name, v, nodeID string) *CSIDriver {
|
|||||||
|
|
||||||
// ValidateControllerServiceRequest validates the controller
|
// ValidateControllerServiceRequest validates the controller
|
||||||
// plugin capabilities.
|
// plugin capabilities.
|
||||||
|
//
|
||||||
|
//nolint:interfacer // c can be of type fmt.Stringer, but that does not make the API clearer
|
||||||
func (d *CSIDriver) ValidateControllerServiceRequest(c csi.ControllerServiceCapability_RPC_Type) error {
|
func (d *CSIDriver) ValidateControllerServiceRequest(c csi.ControllerServiceCapability_RPC_Type) error {
|
||||||
if c == csi.ControllerServiceCapability_RPC_UNKNOWN {
|
if c == csi.ControllerServiceCapability_RPC_UNKNOWN {
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user