From 2ab3e4036955c8058c46561b7933ae0628df3920 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 2 Jun 2023 14:30:51 +0200 Subject: [PATCH] build: address `interfacer` warning Signed-off-by: Niels de Vos --- internal/csi-common/driver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/csi-common/driver.go b/internal/csi-common/driver.go index aeda36051..31c89070e 100644 --- a/internal/csi-common/driver.go +++ b/internal/csi-common/driver.go @@ -69,6 +69,8 @@ func NewCSIDriver(name, v, nodeID string) *CSIDriver { // ValidateControllerServiceRequest validates the controller // 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 { if c == csi.ControllerServiceCapability_RPC_UNKNOWN { return nil