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 5, 2021
1 parent 0312119 commit d2dcb82
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 d2dcb82

Please sign in to comment.