diff --git a/clients/naming_client/naming_client.go b/clients/naming_client/naming_client.go index a2257e1a..958373de 100644 --- a/clients/naming_client/naming_client.go +++ b/clients/naming_client/naming_client.go @@ -265,7 +265,7 @@ func (sc *NamingClient) selectInstances(service model.Service, healthy bool) ([] } hosts := service.Hosts var result []model.Instance - logger.Infof("select instances with options: [healthy:<%s>], with service:<%s>", healthy, util.GetGroupName(service.Name, service.GroupName)) + logger.Infof("select instances with options: [healthy:<%t>], with service:<%s>", healthy, util.GetGroupName(service.Name, service.GroupName)) for _, host := range hosts { if host.Healthy == healthy && host.Enable && host.Weight > 0 { result = append(result, host)