Improve k8s logging accuracy

pull/496/head
Frostebite 2023-02-03 01:44:41 +00:00
parent 6c533e123b
commit e833b5e231
3 changed files with 1 additions and 5 deletions

1
dist/index.js generated vendored
View File

@ -3312,7 +3312,6 @@ class Kubernetes {
try {
const status = yield this.kubeClient.readNamespacedPodStatus(this.podName, this.namespace);
cloud_runner_logger_1.default.log(JSON.stringify(status, undefined, 4));
cloud_runner_logger_1.default.log(JSON.stringify(yield this.kubeClient.readNamespacedPod(this.podName, this.namespace), undefined, 4));
existsAlready = true;
}
catch (_c) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -137,9 +137,6 @@ class Kubernetes implements ProviderInterface {
try {
const status = await this.kubeClient.readNamespacedPodStatus(this.podName, this.namespace);
CloudRunnerLogger.log(JSON.stringify(status, undefined, 4));
CloudRunnerLogger.log(
JSON.stringify(await this.kubeClient.readNamespacedPod(this.podName, this.namespace), undefined, 4),
);
existsAlready = true;
} catch {
// empty