diff options
| author | washcycle <litho23@gmail.com> | 2023-04-26 21:37:27 -0500 |
|---|---|---|
| committer | washcycle <litho23@gmail.com> | 2023-04-26 21:37:27 -0500 |
| commit | ceb40f2444d9b409b187a72ca8e8abeb437af62e (patch) | |
| tree | a18517ebeeb16cecbf3d0d9b3397352691ae15d1 /pkg/driver/controllerserver.go | |
| parent | b9cdc91ecb6008a33438d6a6407d5d4ddad9e361 (diff) | |
| download | seaweedfs-csi-driver-ceb40f2444d9b409b187a72ca8e8abeb437af62e.tar.xz seaweedfs-csi-driver-ceb40f2444d9b409b187a72ca8e8abeb437af62e.zip | |
Implement CSI Test Suite
Fixes #115
Diffstat (limited to 'pkg/driver/controllerserver.go')
| -rw-r--r-- | pkg/driver/controllerserver.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/driver/controllerserver.go b/pkg/driver/controllerserver.go index b032542..b90a09c 100644 --- a/pkg/driver/controllerserver.go +++ b/pkg/driver/controllerserver.go @@ -95,11 +95,6 @@ func (cs *ControllerServer) ControllerPublishVolume(ctx context.Context, req *cs return nil, status.Error(codes.InvalidArgument, "Volume ID missing in request") } - volumePath := req.GetVolumeContext()["volumePath"] - if len(volumePath) == 0 { - return nil, status.Error(codes.InvalidArgument, "Volume path missing in request") - } - nodeId := req.NodeId if len(nodeId) == 0 { return nil, status.Error(codes.InvalidArgument, "Node ID missing in request") |
