mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 09:44:51 +00:00
Remove outdated comment from ClustersService (#28090)
syncClusterInfo has been making network requests ever since we made it return details needed for access requests.
This commit is contained in:
parent
a7252794d4
commit
ee79020332
|
@ -151,8 +151,6 @@ export class ClustersService extends ImmutableStore<types.ClustersServiceState>
|
||||||
*/
|
*/
|
||||||
private async syncRootCluster(clusterUri: uri.RootClusterUri) {
|
private async syncRootCluster(clusterUri: uri.RootClusterUri) {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
// syncClusterInfo never fails with a retryable error since it reads data from disk.
|
|
||||||
// syncLeafClusters reaches out to the proxy so it might return a retryable error.
|
|
||||||
this.syncClusterInfo(clusterUri),
|
this.syncClusterInfo(clusterUri),
|
||||||
this.syncLeafClustersList(clusterUri),
|
this.syncLeafClustersList(clusterUri),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue