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

🐛 ensure gitlab discovered assets have unique platform ids #1778

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

vjeffrey
Copy link
Contributor

No description provided.

@vjeffrey vjeffrey force-pushed the vj/platformidsgitlab branch from efd50f7 to 56e533d Compare September 18, 2023 19:12
if err == nil && len(assets) > 0 {
for i := range assets {
if len(assets[i].PlatformIds) > 0 {
assets[i].PlatformIds[0] = assets[i].PlatformIds[0] + "/" + project.Name
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the terraform platform ids in the group i was testing were coming back as the same, so i added the project name as a safeguard..

Copy link
Member

@arlimus arlimus left a comment

Choose a reason for hiding this comment

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

kudos for fixing this!

@vjeffrey vjeffrey merged commit 71c6349 into v8 Sep 18, 2023
9 checks passed
@vjeffrey vjeffrey deleted the vj/platformidsgitlab branch September 18, 2023 19:45
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2023
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.

2 participants