Skip to content

Commit

Permalink
Move initialization to global context
Browse files Browse the repository at this point in the history
  • Loading branch information
anicr7 committed Feb 1, 2022
1 parent 195adb9 commit 942161d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xds/bootstrap/bootstrap_test.go
Expand Up @@ -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)
}

Expand Down

0 comments on commit 942161d

Please sign in to comment.