diff --git a/xds/internal/resolver/xds_resolver_test.go b/xds/internal/resolver/xds_resolver_test.go index 4edf34f41acf..a41920998272 100644 --- a/xds/internal/resolver/xds_resolver_test.go +++ b/xds/internal/resolver/xds_resolver_test.go @@ -286,7 +286,7 @@ func (s) TestXDSResolverWatchCallbackAfterClose(t *testing.T) { func (s) TestXDSResolverCloseClosesXDSClient(t *testing.T) { xdsC := fakeclient.NewClient() xdsR, _, cancel := testSetup(t, setupOpts{ - xdsClientFunc: func() (xdsClient, error) { return xdsC, nil }, + xdsClientFunc: func() (xdsclient.XDSClient, error) { return xdsC, nil }, }) defer cancel() xdsR.Close()