mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-08 19:40:24 +08:00
修复查看附近服务API中scope错误的问题
This commit is contained in:
@@ -1517,7 +1517,7 @@ func (this *ServerService) FindNearbyServers(ctx context.Context, req *pb.FindNe
|
|||||||
}
|
}
|
||||||
|
|
||||||
return &pb.FindNearbyServersResponse{
|
return &pb.FindNearbyServersResponse{
|
||||||
Scope: "group",
|
Scope: "cluster",
|
||||||
Groups: []*pb.FindNearbyServersResponse_GroupInfo{pbGroup},
|
Groups: []*pb.FindNearbyServersResponse_GroupInfo{pbGroup},
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user