Skip to content

Fix integration filtering in AwsAccount selector#41329

Merged
justinas merged 1 commit intomasterfrom
justinas/web-fix-discover-filter
May 13, 2024
Merged

Fix integration filtering in AwsAccount selector#41329
justinas merged 1 commit intomasterfrom
justinas/web-fix-discover-filter

Conversation

@justinas
Copy link
Copy Markdown
Contributor

@justinas justinas commented May 8, 2024

After #40998 added a new integration kind (azure-oidc), the selector for AWS integration to use in the Discover flow stopped working (would display an empty list, crash when user attempts to type in the name manually). This seems to be because the existing code maps unknown integration types to undefined (by an implicit return if the kind does not match aws-oidc).

This fixes this by filtering for only aws-oidc as a separate step.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@justinas justinas added the no-changelog Indicates that a PR does not require a changelog entry label May 8, 2024
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from ibeckermayer May 13, 2024 10:45
@justinas justinas added this pull request to the merge queue May 13, 2024
Merged via the queue into master with commit 46fcfe4 May 13, 2024
@justinas justinas deleted the justinas/web-fix-discover-filter branch May 13, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants