deleted PVC log message

pull/310/head
Frostebite 2022-01-30 21:09:58 +00:00
parent dd72172917
commit 9fd4d4da48
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -2034,6 +2034,7 @@ class Kubernetes {
return __awaiter(this, void 0, void 0, function* () {
cloud_runner_logger_1.default.log(`deleting PVC`);
this.kubeClient.deleteNamespacedPersistentVolumeClaim(this.pvcName, this.namespace);
cloud_runner_logger_1.default.log(`deleted PVC`);
});
}
static findPodFromJob(kubeClient, jobName, namespace) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -181,6 +181,7 @@ class Kubernetes implements CloudRunnerProviderInterface {
) {
CloudRunnerLogger.log(`deleting PVC`);
this.kubeClient.deleteNamespacedPersistentVolumeClaim(this.pvcName, this.namespace);
CloudRunnerLogger.log(`deleted PVC`);
}
static async findPodFromJob(kubeClient: CoreV1Api, jobName: string, namespace: string) {
const namespacedPods = await kubeClient.listNamespacedPod(namespace);