From 181e799476d016f369023d47587fcfac1716b524 Mon Sep 17 00:00:00 2001 From: Arthur Caron Date: Thu, 12 Dec 2024 15:13:04 +0100 Subject: [PATCH] Fine log added in `terminateNode` method. --- .../plugins/computeengine/ComputeEngineComputerLauncher.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/jenkins/plugins/computeengine/ComputeEngineComputerLauncher.java b/src/main/java/com/google/jenkins/plugins/computeengine/ComputeEngineComputerLauncher.java index 8278ef77..62245006 100644 --- a/src/main/java/com/google/jenkins/plugins/computeengine/ComputeEngineComputerLauncher.java +++ b/src/main/java/com/google/jenkins/plugins/computeengine/ComputeEngineComputerLauncher.java @@ -233,7 +233,8 @@ private static void terminateNode(SlaveComputer slaveComputer, TaskListener list listener.error(String.format("Failed to terminate node %s", node.getDisplayName())); } } else { - LOGGER.fine(String.format("Tried to terminate unknown node from computer %s", node.getNodeName())); + LOGGER.fine( + String.format("Tried to terminate unknown node from computer %s", slaveComputer.getDisplayName())); } }