|
@@ -29,7 +29,7 @@ public class RefreshYarp : BackgroundService
|
|
|
foreach(var service in options.Services)
|
|
foreach(var service in options.Services)
|
|
|
{
|
|
{
|
|
|
string serviceName = service.Name;
|
|
string serviceName = service.Name;
|
|
|
- var list = await naming.GetAllInstances(serviceName, "DEFAULT");
|
|
|
|
|
|
|
+ var list = await naming.GetAllInstances(serviceName, "DEFAULT_GROUP");
|
|
|
var healthy = list.Where(h => h.Healthy && h.Enabled).ToList();
|
|
var healthy = list.Where(h => h.Healthy && h.Enabled).ToList();
|
|
|
|
|
|
|
|
if (healthy.Count > 0)
|
|
if (healthy.Count > 0)
|