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:
Rafał Cieślak 2023-06-21 16:21:11 +02:00 committed by GitHub
parent a7252794d4
commit ee79020332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,8 +151,6 @@ export class ClustersService extends ImmutableStore<types.ClustersServiceState>
*/
private async syncRootCluster(clusterUri: uri.RootClusterUri) {
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.syncLeafClustersList(clusterUri),
]);