Skip to content

Conversation

@huntergregory
Copy link
Contributor

This PR fixes a bug around getting the iptables line number of the jump from FORWARD chain to AZURE-NPM. The code would take the first digit of the line number, so if the line number were 12, then the code would think the line number is 1.

Updated in both v1 and v2.

v2 throws errors if the grep output is unexpected, whereas v1 won't. This way, we don't modify the error-throwing behavior of v1.

@huntergregory huntergregory added the npm Related to NPM. label Jan 19, 2022
@vakalapa vakalapa merged commit b69f8b6 into master Jan 24, 2022
@vakalapa vakalapa deleted the npm-fix-line-number branch January 24, 2022 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

npm Related to NPM.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants