Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

[v9] useDocumentGateway: Pin shell to correct cluster (#812)#813

Merged
ravicious merged 1 commit intoteleport-v9from
ravicious/v9/backport-812
May 5, 2022
Merged

[v9] useDocumentGateway: Pin shell to correct cluster (#812)#813
ravicious merged 1 commit intoteleport-v9from
ravicious/v9/backport-812

Conversation

@ravicious
Copy link
Copy Markdown
Member

Backport #812.

Commit b5d30b1 fixed some reconnect issues, but it also introduced a
locally scoped `cluster` variable. This made it seem like it's the cluster
to which the given gateway belongs, but it was actually the root cluster.

This commit renames the old `cluster` variable to `rootCluster`. It also
makes sure that `workspaceDocumentsService.openNewTerminal` receives
correct root & leaf cluster IDs.
@ravicious ravicious requested a review from gzdunek May 5, 2022 15:27
@ravicious ravicious merged commit ed9aa5c into teleport-v9 May 5, 2022
@ravicious ravicious deleted the ravicious/v9/backport-812 branch May 5, 2022 15:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants