From d459df8d6e3789e6ad234289b27e55a92667b1ea Mon Sep 17 00:00:00 2001 From: George Shiqi Wu Date: Mon, 18 Sep 2023 13:40:02 -0400 Subject: [PATCH] Fix log syntax (#15004) --- .../druid/k8s/overlord/common/KubernetesPeonClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/common/KubernetesPeonClient.java b/extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/common/KubernetesPeonClient.java index b477be2cde28..9fdc25fa6455 100644 --- a/extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/common/KubernetesPeonClient.java +++ b/extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/common/KubernetesPeonClient.java @@ -121,13 +121,13 @@ public boolean deletePeonJob(K8sTaskId taskId) .withName(taskId.getK8sJobName()) .delete().isEmpty()); if (result) { - log.info("Cleaned up k8s task: %s", taskId); + log.info("Cleaned up k8s job: %s", taskId); } else { - log.info("K8s task does not exist: %s", taskId); + log.info("K8s job does not exist: %s", taskId); } return result; } else { - log.info("Not cleaning up task %s due to flag: debugJobs=true", taskId); + log.info("Not cleaning up job %s due to flag: debugJobs=true", taskId); return true; } }