diff --git a/src/main/cluster.ts b/src/main/cluster.ts index 4921e84a20..1328c96c33 100644 --- a/src/main/cluster.ts +++ b/src/main/cluster.ts @@ -438,7 +438,7 @@ export class Cluster implements ClusterModel, ClusterState { /** * @internal */ - async refreshAccessibility(): Promise { + private async refreshAccessibility(): Promise { this.isAdmin = await this.isClusterAdmin(); this.isGlobalWatchEnabled = await this.canUseWatchApi({ resource: "*" }); @@ -588,7 +588,7 @@ export class Cluster implements ClusterModel, ClusterState { /** * @internal */ - async canUseWatchApi(customizeResource: V1ResourceAttributes = {}): Promise { + private async canUseWatchApi(customizeResource: V1ResourceAttributes = {}): Promise { return this.canI({ verb: "watch", resource: "*",