Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in log statements #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private void addNewSlaveInstances(List<AwsGroupInstance> 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);
}
Expand Down Expand Up @@ -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);

Expand All @@ -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);

Expand Down