From a69608de9899c227a467aa7afe98f7e30e90c48b Mon Sep 17 00:00:00 2001 From: Michael Keppler Date: Mon, 7 Dec 2020 15:14:06 +0100 Subject: [PATCH] Fix typos in log statements --- .../hudson/plugins/spotinst/cloud/AwsSpotinstCloud.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/hudson/plugins/spotinst/cloud/AwsSpotinstCloud.java b/src/main/java/hudson/plugins/spotinst/cloud/AwsSpotinstCloud.java index 4a119123..6f6a4457 100644 --- a/src/main/java/hudson/plugins/spotinst/cloud/AwsSpotinstCloud.java +++ b/src/main/java/hudson/plugins/spotinst/cloud/AwsSpotinstCloud.java @@ -215,7 +215,7 @@ private void addNewSlaveInstances(List elastigroupInstances) { Boolean isSlaveExist = isSlaveExistForInstance(instance); if (isSlaveExist == false) { - LOGGER.info(String.format("Instance: %s of group: %s doesn't have slave , adding new one", + LOGGER.info(String.format("Instance: %s of group: %s doesn't have slave, adding new one", JsonMapper.toJson(instance), groupId)); addSpotinstSlave(instance); } @@ -311,7 +311,7 @@ private Boolean isSlaveExistForInstance(AwsGroupInstance instance) { String instanceId = instance.getInstanceId(); if (instanceId != null) { - LOGGER.info(String.format("Checking if slave exist for instance id: %s", instanceId)); + LOGGER.info(String.format("Checking if slave exists for instance id: %s", instanceId)); node = Jenkins.getInstance().getNode(instanceId); @@ -323,7 +323,7 @@ private Boolean isSlaveExistForInstance(AwsGroupInstance instance) { String spotRequestId = instance.getSpotInstanceRequestId(); if (retVal == false && spotRequestId != null) { - LOGGER.info(String.format("Checking if slave exist for spot request id: %s", spotRequestId)); + LOGGER.info(String.format("Checking if slave exists for spot request id: %s", spotRequestId)); node = Jenkins.getInstance().getNode(spotRequestId);