stop logging job creation results

pull/265/head
Frostebite 2021-05-23 22:58:03 +01:00
parent 46afe94364
commit 85cfaadc14
3 changed files with 3 additions and 5 deletions

3
dist/index.js vendored
View File

@ -1005,8 +1005,7 @@ class Kubernetes {
},
};
job.spec.backoffLimit = 1;
const jobResults = yield this.kubeClientBatch.createNamespacedJob(this.namespace, job);
core.info(JSON.stringify(jobResults.body, undefined, 4));
yield this.kubeClientBatch.createNamespacedJob(this.namespace, job);
core.info('Job created');
});
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -291,8 +291,7 @@ class Kubernetes {
},
};
job.spec.backoffLimit = 1;
const jobResults = await this.kubeClientBatch.createNamespacedJob(this.namespace, job);
core.info(JSON.stringify(jobResults.body, undefined, 4));
await this.kubeClientBatch.createNamespacedJob(this.namespace, job);
core.info('Job created');
}