Fix lint errors.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-20 10:52:19 +02:00
1 parent 59a71a78cf
commit 3f9c69c80c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -79,4 +79,4 @@ describe("KubeApi", () => {
expect(kubeApi.apiPrefix).toEqual("/apis"); expect(kubeApi.apiPrefix).toEqual("/apis");
expect(kubeApi.apiGroup).toEqual("extensions"); expect(kubeApi.apiGroup).toEqual("extensions");
}); });
}) });
+1 -1
View File
@@ -162,7 +162,7 @@ export class KubeApi<T extends KubeObject = any> {
return { return {
apiPrefix: this.apiPrefix, apiPrefix: this.apiPrefix,
apiGroup: this.apiGroup apiGroup: this.apiGroup
} };
} }
throw new Error(`Can't find working API for the Kubernetes resource ${this.apiResource}`); throw new Error(`Can't find working API for the Kubernetes resource ${this.apiResource}`);