fix for logging string

This commit is contained in:
John Bowdre 2022-07-11 09:56:14 -05:00 committed by GitHub
parent 7ee71ee5ec
commit ff82835824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ var dnsDomain = inputProperties.customProperties.domain;
var ipAddress = inputProperties.addresses[0]; var ipAddress = inputProperties.addresses[0];
var created = false; var created = false;
if (staticDns == "true" && dnsHost.supportedDomains.indexOf(dnsDomain) >= 0) { if (staticDns == "true" && dnsHost.supportedDomains.indexOf(dnsDomain) >= 0) {
System.log("Attempting to create DNS record for " + hostname + "." + ipAddress + "..."); System.log("Attempting to create DNS record for " + hostname + " @ " + ipAddress + "...");
var sshSession = new SSHSession(dnsHost.sshHost, dnsHost.sshUser); var sshSession = new SSHSession(dnsHost.sshHost, dnsHost.sshUser);
System.debug("Connecting to " + dnsHost.sshHost + "..."); System.debug("Connecting to " + dnsHost.sshHost + "...");
sshSession.connectWithPassword(dnsHost.sshPass); sshSession.connectWithPassword(dnsHost.sshPass);