From dc379007859f3c1657c935c15f9e98750fb27863 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 2 Feb 2021 20:10:49 +0200 Subject: [PATCH] mark Cluster.canUseWatchApi() and Cluster.refreshAccessibility() as private Signed-off-by: Roman --- src/main/cluster.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: "*",