Skip to content

Commit

Permalink
Merge pull request #30 from bizflycloud/fix/limit_volume_per_node
Browse files Browse the repository at this point in the history
Change Max volume per node from 256 to 20
  • Loading branch information
lmq1999 authored Apr 17, 2024
2 parents 56b94f8 + 396b85b commit 9e2f6cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions driver/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ func (ns *nodeServer) NodeUnstageVolume(ctx context.Context, req *csi.NodeUnstag
return nil, status.Error(codes.InvalidArgument, "NodeUnstageVolume Staging Target Path must be provided")
}


err := ns.Mount.UnmountPath(stagingTargetPath)
if err != nil {
return nil, status.Error(codes.Internal, err.Error())
Expand All @@ -253,7 +252,7 @@ func (ns *nodeServer) NodeGetInfo(ctx context.Context, req *csi.NodeGetInfoReque
}
topology := &csi.Topology{Segments: map[string]string{topologyKey: zone}}

maxVolume := int64(256)
maxVolume := int64(20)

return &csi.NodeGetInfoResponse{
NodeId: nodeID,
Expand Down

0 comments on commit 9e2f6cd

Please sign in to comment.