sureshanaparti commented on code in PR #12018:
URL: https://github.com/apache/cloudstack/pull/12018#discussion_r2661447088
##########
plugins/hypervisors/baremetal/src/main/java/com/cloud/baremetal/networkservice/BaremetalPingPxeResource.java:
##########
@@ -237,7 +237,7 @@ private Answer execute(VmDataCommand cmd) {
sshConnection.connect(null, 60000, 60000);
if (!sshConnection.authenticateWithPassword(_username, _password))
{
logger.debug("SSH Failed to authenticate");
- throw new ConfigurationException(String.format("Cannot connect
to PING PXE server(IP=%1$s, username=%2$s, password=%3$s", _ip, _username,
_password));
+ throw new ConfigurationException(String.format("Cannot connect
to PING PXE server(IP=%1$s, username=%2$s, password=******", _ip, _username));
Review Comment:
```suggestion
throw new ConfigurationException(String.format("Cannot
connect to PING PXE server(IP=%1$s, username=%2$s", _ip, _username));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]