Skip to content

Commit

Permalink
Remove previous fix to fix last test
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Malton <sebastian@malton.name>
  • Loading branch information
Nokel81 committed Mar 5, 2023
1 parent ba85930 commit 7e0556b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/core/src/common/cluster/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -705,11 +705,6 @@ export class Cluster implements ClusterModel {
}

shouldShowResource(resource: KubeApiResourceDescriptor): boolean {
if (this.allowedResources.size === 0) {
// better to show than hide everything
return true;
}

return this.allowedResources.has(formatKubeApiResource(resource));
}

Expand Down

0 comments on commit 7e0556b

Please sign in to comment.