Skip to content

Commit

Permalink
Make verify happy
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Apr 5, 2019
1 parent 2f0293e commit 2a62c49
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/driver/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,7 @@ func (d *nodeService) NodeExpandVolume(ctx context.Context, req *csi.NodeExpandV
return nil, status.Error(codes.InvalidArgument, "Volume ID not provided")
}

capRange := req.GetCapacityRange()
if capRange != nil {
// TODO: range specified
}
// TODO: range specified

args := []string{"-o", "source", "--noheadings", "--target", req.GetVolumePath()}
output, err := d.mounter.Exec.Run("findmnt", args...)
Expand Down

0 comments on commit 2a62c49

Please sign in to comment.