Skip to content

Commit f0823bb

Browse files
committed
remove unnessary comments
1 parent eb981a9 commit f0823bb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/views/domains-page/domains-page-error-banner/helpers/get-domains-error-message.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export function getDomainsErrorMessage({
1313
.map((cluster) => cluster.clusterName)
1414
.join(', ');
1515

16-
// Check if all failures are service unavailable (503)
1716
const allServiceUnavailable = failedClusters.every(
1817
(cluster) => cluster.httpStatus === 503
1918
);
@@ -22,7 +21,6 @@ export function getDomainsErrorMessage({
2221
return `Failed to connect to the following clusters: ${clusterNames}`;
2322
}
2423

25-
// Check if all failures are API failures (not 503)
2624
const allApiFailures = failedClusters.every(
2725
(cluster) => cluster.httpStatus !== 503
2826
);

0 commit comments

Comments
 (0)