From d2dcb825382c3ff35dc7b216b3dbd16bd6043d8d Mon Sep 17 00:00:00 2001 From: Hou Junjie Date: Tue, 5 Jan 2021 14:12:28 +0800 Subject: [PATCH] empty method returns unimplemented --- src/csi/driver/controller.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/csi/driver/controller.go b/src/csi/driver/controller.go index b2468369..b4818110 100644 --- a/src/csi/driver/controller.go +++ b/src/csi/driver/controller.go @@ -321,6 +321,5 @@ func (d *Driver) ListSnapshots(ctx context.Context, req *csi.ListSnapshotsReques } func (d *Driver) ControllerGetVolume(ctx context.Context, req *csi.ControllerGetVolumeRequest) (*csi.ControllerGetVolumeResponse, error) { - // todo - return nil, nil + return nil, status.Error(codes.Unimplemented, "Not implemented") }