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())); } }