Skip to content
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

Separately MERGE ungrouped/grouped and dynamic grouped predefined labels #401

Closed
wants to merge 1 commit into from

Conversation

joshelser
Copy link
Contributor

Because the MERGE only inspected the label name (which is null for predefined grouped labels), we were incorrectly falling into the not matched condition and inserting duplicate rows.

Closes #400

Because the MERGE only inspected the label name (which is null for
predefined grouped labels), we were incorrectly falling into the not
matched condition and inserting duplicate rows.

Closes sundeck-io#400
@joshelser
Copy link
Contributor Author

Draft until have test this a little more.

I think that the name vs. group_name uniqueness on internal.labels will continue to bite us, so I'm also reticent to band-aid this yet-again.

@joshelser joshelser closed this Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate_predefined_labels can create duplicate dynamic grouped labels
1 participant