Skip to content

Commit

Permalink
Missed line in DataLakeFileClient.Upload() readonly fix (#14910)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcc-msft authored Sep 4, 2020
1 parent bd63163 commit f672dc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3438,7 +3438,7 @@ internal async Task<Response<PathInfo>> StagedUploadInternal(
bool async = true,
CancellationToken cancellationToken = default)
{
using (FileStream stream = new FileStream(path, FileMode.Open))
using (FileStream stream = new FileStream(path, FileMode.Open, FileAccess.Read))
{
return await StagedUploadInternal(
stream,
Expand Down

0 comments on commit f672dc4

Please sign in to comment.