diff --git a/agent/agent.go b/agent/agent.go index c6615af4be..493c9bd11f 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -540,7 +540,6 @@ func (a *Agent) Start(ctx context.Context) error { Logger: a.logger.Named(logging.ProxyConfig), State: a.State, Source: &structs.QuerySource{ - Node: a.config.NodeName, Datacenter: a.config.Datacenter, Segment: a.config.SegmentName, }, diff --git a/agent/proxycfg/manager_test.go b/agent/proxycfg/manager_test.go index c4496b6d3f..1c9067f504 100644 --- a/agent/proxycfg/manager_test.go +++ b/agent/proxycfg/manager_test.go @@ -352,10 +352,7 @@ func testManager_BasicLifecycle( require := require.New(t) logger := testutil.Logger(t) state := local.NewState(local.Config{}, logger, &token.Store{}) - source := &structs.QuerySource{ - Node: "node1", - Datacenter: "dc1", - } + source := &structs.QuerySource{Datacenter: "dc1"} // Stub state syncing state.TriggerSyncChanges = func() {}