Skip to content

Commit

Permalink
Fix lint checks.
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
  • Loading branch information
AndrienkoAleksandr committed Nov 2, 2021
1 parent 41fa7d1 commit 3a2ad69
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class DevWorkspaceTasks {
async isDevWorkspaceInstalledViaOLM(): Promise<boolean> {
const csvAll = await this.kubeHelper.getClusterServiceVersions(DEFAULT_OPENSHIFT_OPERATORS_NS_NAME)
const devWorkspaceCSVs = csvAll.items.filter(csv => csv.metadata.name!.startsWith(DEVWORKSPACE_CVS_PREFIX))
return devWorkspaceCSVs.length > 0;
return devWorkspaceCSVs.length > 0
}

/**
Expand Down Expand Up @@ -167,9 +167,9 @@ export class DevWorkspaceTasks {
await this.kubeHelper.deleteClusterRoleBinding(this.devWorkspaceRoleBinding)
await this.kubeHelper.deleteClusterRoleBinding(this.devworkspaceProxyClusterRoleBinding)
if (!ctx.isDevWorkspaceInstalledViaOLM) {
await this.kubeHelper.deleteClusterRoleBinding(this.devWorkspaceWebhookServerClusterRolebinding) //!!!!!!!!
await this.kubeHelper.deleteClusterRoleBinding(this.devWorkspaceWebhookServerClusterRolebinding)
}

task.title = await `${task.title}...OK`
},
},
Expand Down

0 comments on commit 3a2ad69

Please sign in to comment.