Skip to content

Commit

Permalink
empty method returns unimplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
Hou Junjie committed Jan 29, 2021
1 parent 4e7de44 commit 0088bc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/csi/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit 0088bc6

Please sign in to comment.