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

[v9] useDocumentGateway: Remove null rootCluster checks (#814)#852

Merged
ravicious merged 1 commit intoteleport-v9from
ravicious/v9/backport-814
May 30, 2022
Merged

[v9] useDocumentGateway: Remove null rootCluster checks (#814)#852
ravicious merged 1 commit intoteleport-v9from
ravicious/v9/backport-814

Conversation

@ravicious
Copy link
Copy Markdown
Member

Backport #814.

When a root cluster gets removed (the user logs out of it), we remove
resources related to it, so the rootCluster variable should never be
null at this point.

When a root cluster gets removed (the user logs out of it), we remove
resources related to it, so the `rootCluster` variable should never be
null at this point.
@ravicious ravicious requested a review from gzdunek May 30, 2022 09:21
@ravicious ravicious marked this pull request as ready for review May 30, 2022 09:21
@ravicious ravicious merged commit f6192fc into teleport-v9 May 30, 2022
@ravicious ravicious deleted the ravicious/v9/backport-814 branch May 30, 2022 12:45
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