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

Fix events view to take clusters into account #2787

Merged
merged 1 commit into from Sep 27, 2022
Merged

Conversation

ozamosi
Copy link
Contributor

@ozamosi ozamosi commented Sep 26, 2022

We should only get events for the current cluster - we used to search all clusters, and if another cluster had the same object then we'd show incorrect events.

This makes the new, correct object ref kind introduced in #2765 the only object ref used in our APIs, and then copy-pastes the client creation code from c3a407a.

@ozamosi ozamosi requested a review from a team September 26, 2022 12:11
@ozamosi ozamosi added the bug Something isn't working label Sep 26, 2022
Copy link
Contributor

@joshri joshri left a comment

Choose a reason for hiding this comment

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

A couple lingering ClusteredObjRefs in suspend_test.go - I'm guessing most other places just used ObjectRef?

@ozamosi ozamosi force-pushed the correct-cluster-events branch 2 times, most recently from a6e72e0 to ecef072 Compare September 26, 2022 18:04
Copy link
Contributor

@joshri joshri left a comment

Choose a reason for hiding this comment

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

It's a BIG approve. Tested locally and events are coming through.

We should only get events for the current cluster - we used to search
all clusters, and if another cluster had the same object then we'd
show incorrect events.

This makes the new, correct object ref kind introduced in #2765 the
only object ref used in our APIs, and then copy-pastes the client
creation code from c3a407a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants