Skip to content

fix: reorder cluster check in GetCrateKubeconfig function #3

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 2, 2025

Conversation

n3rdc4ptn
Copy link
Member

No description provided.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request adjusts the order of operations in the GetCrateKubeconfig function.

  • The deep copy of the user list is now performed before checking if any clusters are present.
  • The cluster check is moved to a later point in the function, potentially incurring unnecessary work.

@n3rdc4ptn n3rdc4ptn merged commit 94a160d into main Apr 2, 2025
2 checks passed
@n3rdc4ptn n3rdc4ptn deleted the security-fix branch April 2, 2025 16:10
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.

2 participants