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

bug: matches not accounted for with go client #35

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented May 16, 2024

Problem: we needed to take the intersection of the matches and clusters known to the user config as
the final set to return. Currently we are just providing all the clusters in the user config,
regardless of match.

Solution: create a function to retrieve the token for a named cluster, which only returns the token if it is known. This is akin to taking an intersection between the matches and clusters known.

Problem: we needed to take the intersection of the
matches and clusters known to the user config as
the final set to return. Currently we are just
providing all the clusters in the user config,
regardless of match.
Solution: create a function to retrieve the token
for a named cluster, which only returns the token
if it is known. This is akin to taking an intersection
between the matches and clusters known.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch vsoch merged commit c7ab752 into main May 16, 2024
3 checks passed
@vsoch vsoch deleted the bug-cluster-match branch May 16, 2024 00:20
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.

None yet

1 participant