From 0088bc668c5a03ccbdb0539ce4e9b343ebcd4833 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") }