Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

niravparikh05
Copy link
Contributor

@niravparikh05 niravparikh05 commented Mar 22, 2023

What does this PR change?

  • fix to error out same bootstrap agent registration requests from different target clusters

Does the PR depend on any other PRs or Issues? If yes, please list them.

Checklist

I confirm, that I have...

  • Read and followed the contributing guide in CONTRIBUTING.md
  • Added tests for this PR
  • Formatted the code using go fmt (if applicable)
  • Updated documentation on the Paralus docs site (if applicable)
  • Updated CHANGELOG.md

@niravparikh05
Copy link
Contributor Author

niravparikh05 commented Mar 23, 2023

Pending

  • Update go.mod once dependent pr is merged

Copy link
Member

@akshay196 akshay196 left a comment

Choose a reason for hiding this comment

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

getNamespace can be unit tested using fake kube-client, for example fake dynamic client.

@niravparikh05 niravparikh05 requested a review from akshay196 March 28, 2023 09:54
@akshay196
Copy link
Member

@niravparikh05 Added unit test and squashed all commits to one.

@niravparikh05
Copy link
Contributor Author

@niravparikh05 Added unit test and squashed all commits to one.

thank you @akshay196

Copy link
Contributor

@nirav-rafay nirav-rafay left a comment

Choose a reason for hiding this comment

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

lgtm

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.

I inadvertently installed a relay agent in multiple clusters

3 participants