Fix prints that broke unit tests

Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
Vitor Savian
2025-04-28 13:24:35 -03:00
committed by Brad Davidson
parent 700dac8b3d
commit 7be7fc19f8
5 changed files with 7 additions and 7 deletions

View File

@@ -88,7 +88,7 @@ func (h *handler) updateCoreDNSConfigMap(nodeName, hostName, nodeIPv4, nodeIPv6
nodeIPv4 = ""
nodeIPv6 = ""
} else if nodeIPv4 == "" && nodeIPv6 == "" {
logrus.Errorf("No InternalIP addresses found for node " + nodeName)
logrus.Errorf("No InternalIP addresses found for node %s", nodeName)
return nil
}