1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-12 13:18:47 +00:00

fix golint errors

This commit is contained in:
Krunal Hingu
2025-02-21 14:07:20 +05:30
parent 37ef1abcbf
commit 3509bfad9d
4 changed files with 4 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ func (c *Cluster) InvertIndexHosts() error {
newHost.BastionHost = c.BastionHost
}
for _, role := range host.Role {
logrus.Debugf("Host: " + host.Address + " has role: " + role)
logrus.Debugf("Host: %s has role: %s", host.Address, role)
switch role {
case services.ETCDRole:
newHost.IsEtcd = true