Skip to content

Fixes #19230: Allow label reuse when creating multiple components from a pattern #19261

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 1 commit into from
Apr 22, 2025

Conversation

jeremystretch
Copy link
Member

Fixes: #19230

If a pattern-supporting field returns only a single value because no pattern was specified, replicate it to provide a match the number of expected values. This allows us to do e.g.

  • name: Port[1-4]
  • label: Foo

to reuse the same label for all components. However, an otherwise mismatched number of labels (as below) will still fail:

  • name: Port[1-4]
  • label: Foo[1-2]

@jeremystretch jeremystretch requested review from a team and arthanson and removed request for a team April 22, 2025 15:18
@arthanson arthanson merged commit 13ddd5f into main Apr 22, 2025
10 checks passed
@jeremystretch jeremystretch deleted the 19230-label-replication branch April 22, 2025 16:10
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2025
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.

Inconsistent behaviour with Label on front port when using range
2 participants