Skip to content

Fixes: #13722 - Correct range expansion code when a numeric set is used #15301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

DanSheps
Copy link
Member

@DanSheps DanSheps commented Feb 28, 2024

Fixes: #13722 - Correct range expansion code when a numeric set is used

  • Correct range expansion to account for a numeric set ([1,2])
  • Added test

@DanSheps DanSheps self-assigned this Feb 28, 2024
@DanSheps
Copy link
Member Author

DanSheps commented Feb 28, 2024

This will close PR #13730

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @DanSheps! I think this is even a bit simpler: We can skip the range logic entirely for items without a hyphen in them.

@jeremystretch jeremystretch merged commit 1ff4e12 into develop Mar 11, 2024
@jeremystretch jeremystretch deleted the 13722-fixes-range-expansion branch March 11, 2024 14:50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Range "568" is invalid when creating interface with names vlan [568,570]
2 participants