Fix log syntax (#15004)

This commit is contained in:
George Shiqi Wu 2023-09-18 13:40:02 -04:00 committed by GitHub
parent 973fbaf962
commit d459df8d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -121,13 +121,13 @@ public class KubernetesPeonClient
.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;
}
}