From c93466b00965d832d8fc19c6ef28e9d77aee54c4 Mon Sep 17 00:00:00 2001 From: Seungcheol Ko Date: Wed, 8 Aug 2018 14:41:45 +0900 Subject: [PATCH] Implement NodeGetInfo for csi spec 3.0 --- pkg/cephfs/nodeserver.go | 8 ++++++++ pkg/rbd/nodeserver.go | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/pkg/cephfs/nodeserver.go b/pkg/cephfs/nodeserver.go index d66b6a89a..6280b6d0f 100644 --- a/pkg/cephfs/nodeserver.go +++ b/pkg/cephfs/nodeserver.go @@ -212,3 +212,11 @@ func (ns *nodeServer) NodeUnstageVolume( *csi.NodeUnstageVolumeResponse, error) { return nil, status.Error(codes.Unimplemented, "") } + +func (ns *nodeServer) NodeGetInfo( + ctx context.Context, + req *csi.NodeGetInfoRequest) ( + *csi.NodeGetInfoResponse, error) { + + return nil, status.Error(codes.Unimplemented, "") +} diff --git a/pkg/rbd/nodeserver.go b/pkg/rbd/nodeserver.go index 7091ca99c..b221b00ab 100644 --- a/pkg/rbd/nodeserver.go +++ b/pkg/rbd/nodeserver.go @@ -146,3 +146,11 @@ func (ns *nodeServer) NodeUnstageVolume( return nil, status.Error(codes.Unimplemented, "") } + +func (ns *nodeServer) NodeGetInfo( + ctx context.Context, + req *csi.NodeGetInfoRequest) ( + *csi.NodeGetInfoResponse, error) { + + return nil, status.Error(codes.Unimplemented, "") +}