Skip to content

Commit 703ae5a

Browse files
some more log message fix
1 parent 961755c commit 703ae5a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ public Answer sendTo(final Long dcId, final HypervisorType type, final Command c
360360
public Answer send(final Long hostId, final Command cmd) throws AgentUnavailableException, OperationTimedoutException {
361361
final Commands cmds = new Commands(Command.OnError.Stop);
362362
cmds.addCommand(cmd);
363-
logger.debug(String.format("Wait time set on the command %s is %d seconds", cmd, cmd.getWait()));
364363
send(hostId, cmds, cmd.getWait());
365364
final Answer[] answers = cmds.getAnswers();
366365
if (answers != null && !(answers[0] instanceof UnsupportedAnswer)) {

server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ protected Pair<Boolean, String> validateCommaSeparatedKeyValueConfigWithPositive
14221422
String valueString = parts[1].trim();
14231423

14241424
if (commandName.isEmpty()) {
1425-
String errorMessage = String.format("Validation failed: Command name is missing in '%s'.", commandName);
1425+
String errorMessage = String.format("Validation failed: Command name is missing in '%s'.", command);
14261426
return new Pair<>(false, errorMessage);
14271427
}
14281428

0 commit comments

Comments
 (0)