MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.36k forks source link

Get-NSGFlowLogReadBlock function truncates by 1 character #40553

Closed dancs85 closed 4 years ago

dancs85 commented 4 years ago

In the Get-NSGFlowLogReadBlock function, the call to method 'DownloadRangeToByteArray' specifies '$($blockList[$i].Length-1)' as the length of the block to retrieve. This truncates the final '}'.

it should be changed to '$($blockList[$i].Length)'


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

souravmishra-msft commented 4 years ago

@dancs85 , Thank you for sharing the query. We are looking into this and will get back to you soon on this thread.

msrini-MSFT commented 4 years ago

@KumudD , Can you validate and update the doc?

KumudD commented 4 years ago

@msrini-MSFT Please assign this issue to @damendo . Thanks!

damendo commented 4 years ago

Fixed

damendo commented 4 years ago

please-close