Skip to content

Commit

Permalink
Merge pull request #366 from fabfianda/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
ricoberger committed Dec 4, 2021
2 parents 1ad574a + c9ce024 commit 840bc3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,15 +299,15 @@ export const AppContextProvider: React.FunctionComponent<IAppContextProvider> =

const kubernetesAuthWrapper = async (clusterID: string): Promise<ICluster> => {
if (!clusters || !cluster) {
throw new Error('Could not found Cluster');
throw new Error('Could not find Cluster');
}

if (clusterID === '') {
const c = currentCluster();
if (c) {
clusterID = c.id;
} else {
throw new Error('Could not found Cluster');
throw new Error('Could not find Cluster');
}
}

Expand Down

0 comments on commit 840bc3b

Please sign in to comment.