Skip to content

Agent Mesh

fix rebase conflict resolution: TestDiscoverySource's labels moved to nodeConfig upstream, not Options

Fernando Marino35debe29b736
diff --git a/internal/node/mcp_discovery_test.go b/internal/node/mcp_discovery_test.go
index ef63e5a9..127304b7 100644
--- a/internal/node/mcp_discovery_test.go
+++ b/internal/node/mcp_discovery_test.go
@@ -71,8 +71,8 @@ func (f *fakeToolService) Tools(_ context.Context) ([]string, error) {
func TestDiscoverySource(t *testing.T) {
node := &SamNode{
- services: NewServiceRegistry(&fakeDHT{}, 0),
- config: Options{Labels: map[string]string{"region": "EU"}},
+ services: NewServiceRegistry(&fakeDHT{}, 0),
+ nodeConfig: &NodeConfigComplete{Labels: map[string]string{"region": "EU"}},
}
ctx := context.Background()