-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Convert tsh recursive listing to connect to Proxy via gRPC #40268
Conversation
47eaf5a
to
f121a1b
Compare
78f4a35
to
d4f0698
Compare
d2c7859
to
4c6e970
Compare
d4f0698
to
bab8c51
Compare
4c6e970
to
22031f9
Compare
bab8c51
to
ad29492
Compare
group.Go(func() error { | ||
kc, err := kubeutils.ListKubeClustersWithFilters(groupCtx, cluster.auth, cluster.req) | ||
if err != nil { | ||
logrus.Errorf("Failed to get kube clusters: %v.", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit confused since you're the slog guy, shouldn't we be using slog for new logs? Looks like this is the only logrus ref in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slog guy 😅
I went with logrus because none of our client binaries are using slog yet and TBH I didn't realize this was the first time it was being referenced in this file. I guess now is as good a time as any to start making the switch.
/excludeflake * |
Removes deprecated usage of ProxyClient in getClusterClients used for tsh ls -R and tsh db ls -R.
ad29492
to
e2f6c94
Compare
Migrates all tsh recursive listing operations off of the deprecated ProxyClient in favor of the ClusterClient.
Updates #38239