Use @typescript-eslint/semi.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 18:12:52 +02:00
1 parent 0b182ccf6f
commit 460dfe4d2b
179 files changed
+556 -554

No files matched your search

@@ -39,18 +39,18 @@ export class CronJobTriggerDialog extends Component<Props> {
close = () => {
CronJobTriggerDialog.close();
}
};
onOpen = async () => {
const { cronjob } = this;
this.jobName = cronjob ? cronjob.getName() + "-manual-" + Math.random().toString(36).slice(2, 7) : "";
this.jobName = this.jobName.slice(0, 63);
this.ready = true;
}
};
onClose = () => {
this.ready = false;
}
};
trigger = async () => {
const { cronjob } = this;
@@ -72,7 +72,7 @@ export class CronJobTriggerDialog extends Component<Props> {
} catch (err) {
Notifications.error(err);
}
}
};
renderContents() {
return (
@@ -6,7 +6,7 @@ import { apiManager } from "../../api/api-manager";
@autobind()
export class CronJobStore extends KubeObjectStore<CronJob> {
api = cronJobApi
api = cronJobApi;
getStatuses(cronJobs?: CronJob[]) {
const status = { suspended: 0, scheduled: 0 };