diff --git a/internal/csi-common/nodeserver-default.go b/internal/csi-common/nodeserver-default.go index fe848bdab..6a725995b 100644 --- a/internal/csi-common/nodeserver-default.go +++ b/internal/csi-common/nodeserver-default.go @@ -32,20 +32,6 @@ type DefaultNodeServer struct { Type string } -// NodeStageVolume returns unimplemented response. -func (ns *DefaultNodeServer) NodeStageVolume( - ctx context.Context, - req *csi.NodeStageVolumeRequest) (*csi.NodeStageVolumeResponse, error) { - return nil, status.Error(codes.Unimplemented, "") -} - -// NodeUnstageVolume returns unimplemented response. -func (ns *DefaultNodeServer) NodeUnstageVolume( - ctx context.Context, - req *csi.NodeUnstageVolumeRequest) (*csi.NodeUnstageVolumeResponse, error) { - return nil, status.Error(codes.Unimplemented, "") -} - // NodeExpandVolume returns unimplemented response. func (ns *DefaultNodeServer) NodeExpandVolume( ctx context.Context, @@ -88,13 +74,6 @@ func (ns *DefaultNodeServer) NodeGetCapabilities( }, nil } -// NodeGetVolumeStats returns volume stats. -func (ns *DefaultNodeServer) NodeGetVolumeStats( - ctx context.Context, - req *csi.NodeGetVolumeStatsRequest) (*csi.NodeGetVolumeStatsResponse, error) { - return nil, status.Error(codes.Unimplemented, "") -} - // ConstructMountOptions returns only unique mount options in slice. func ConstructMountOptions(mountOptions []string, volCap *csi.VolumeCapability) []string { if m := volCap.GetMount(); m != nil {