clean-up/update "todo/fixme-comments"

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-21 11:43:00 +03:00
1 parent 1510091cd2
commit c0c1c227ca
8 files changed
+11 -15

No files matched your search

@@ -24,7 +24,7 @@ export class SelfSubjectRulesReview extends KubeObject {
static kind = "SelfSubjectRulesReview"
spec: {
// fixme: add more types from api docs
// todo: add more types from api docs
namespace?: string;
}
+2 -4
View File
@@ -1,5 +1,5 @@
import get from "lodash/get";
import { IKubeObjectMetadata, KubeObject } from "./kube-object";
import { KubeObject } from "./kube-object";
interface IToleration {
key?: string;
@@ -47,9 +47,7 @@ export interface IAffinity {
}
export class WorkloadKubeObject extends KubeObject {
// fixme: add type
spec: any;
spec: any; // todo: add proper types
getSelectors(): string[] {
const selector = this.spec.selector;