Skip to content

Connect: Fix premature proxyClient.Close() when getting kube clusters#16538

Merged
gzdunek merged 5 commits intomasterfrom
gzdunek/premature-kube-proxy-client-close
Sep 21, 2022
Merged

Connect: Fix premature proxyClient.Close() when getting kube clusters#16538
gzdunek merged 5 commits intomasterfrom
gzdunek/premature-kube-proxy-client-close

Conversation

@gzdunek
Copy link
Copy Markdown
Contributor

@gzdunek gzdunek commented Sep 20, 2022

Sometimes fetching kubes fails (in my case it happens only for local cluster).

This is the same problem as here: #14230.

Copy link
Copy Markdown
Member

@ravicious ravicious left a comment

Choose a reason for hiding this comment

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

As I already told Grzegorz, I grepped lib/teleterm for var authClient auth.ClientI and cluster_kubes.go was the only outstanding place which had this problem.

@gzdunek gzdunek merged commit 399526c into master Sep 21, 2022
@gzdunek gzdunek deleted the gzdunek/premature-kube-proxy-client-close branch September 21, 2022 10:17
@gzdunek gzdunek restored the gzdunek/premature-kube-proxy-client-close branch September 21, 2022 10:17
@github-actions
Copy link
Copy Markdown
Contributor

@gzdunek See the table below for backport results.

Branch Result
branch/v10 Failed

gzdunek added a commit that referenced this pull request Sep 21, 2022
@gzdunek gzdunek deleted the gzdunek/premature-kube-proxy-client-close branch September 23, 2022 07:09
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.

3 participants