diff --git a/agent/proxycfg/manager_test.go b/agent/proxycfg/manager_test.go index d62f6ae86d..5e41e007ec 100644 --- a/agent/proxycfg/manager_test.go +++ b/agent/proxycfg/manager_test.go @@ -600,5 +600,5 @@ func TestManager_SyncState_DefaultToken(t *testing.T) { require.NoError(t, err) m.syncState() - require.Equal(t, "default-token", m.proxies[srv.CompoundServiceID()].serviceInstance.token) + require.Equal(t, "default-token", m.proxies[srv.CompoundServiceID()].token) }