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:
@@ -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
|
||||
|
Reference in New Issue
Block a user