1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix unit test: make public Cluster.canUseWatchApi()

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-02-02 20:19:12 +02:00
parent dc37900785
commit 23338b3a04

View File

@ -588,7 +588,7 @@ export class Cluster implements ClusterModel, ClusterState {
/**
* @internal
*/
private async canUseWatchApi(customizeResource: V1ResourceAttributes = {}): Promise<boolean> {
async canUseWatchApi(customizeResource: V1ResourceAttributes = {}): Promise<boolean> {
return this.canI({
verb: "watch",
resource: "*",