diff --git a/xds/bootstrap/bootstrap_test.go b/xds/bootstrap/bootstrap_test.go index ec12eecfdc23..80ae31ccd2e3 100644 --- a/xds/bootstrap/bootstrap_test.go +++ b/xds/bootstrap/bootstrap_test.go @@ -26,11 +26,9 @@ import ( const testCredsBuilderName = "test_creds" -var builder *testCredsBuilder +var builder = &testCredsBuilder{} func init() { - // Register a new credential builder. - builder = &testCredsBuilder{} RegisterCredentials(builder) }