Skip to content

Commit

Permalink
xds: fix typos (#7405)
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars authored Jul 11, 2024
1 parent 48b7581 commit ee62e56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xds/bootstrap/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (t *tlsCredsBuilder) Name() string {
}

// googleDefaultCredsBuilder implements the `Credentials` interface defined in
// package `xds/boostrap` and encapsulates a Google Default credential.
// package `xds/bootstrap` and encapsulates a Google Default credential.
type googleDefaultCredsBuilder struct{}

func (d *googleDefaultCredsBuilder) Build(json.RawMessage) (credentials.Bundle, func(), error) {
Expand Down
2 changes: 1 addition & 1 deletion xds/csds/csds_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (unimplementedEndpointsWatcher) OnResourceDoesNotExist()
// Returns the address of the newly created gRPC server.
//
// Registers cleanup functions on t to stop the gRPC server and the CSDS
// implemenation.
// implementation.
func startCSDSServer(t *testing.T) string {
t.Helper()

Expand Down
2 changes: 1 addition & 1 deletion xds/googledirectpath/googlec2p_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ func (s) TestBuildXDS(t *testing.T) {

gotConfig, err := bootstrap.GetConfiguration()
if err != nil {
t.Fatalf("Failed to get boostrap config: %v", err)
t.Fatalf("Failed to get bootstrap config: %v", err)
}
if diff := cmp.Diff(tt.wantBootstrapConfig, gotConfig); diff != "" {
t.Fatalf("Unexpected diff in bootstrap config (-want +got):\n%s", diff)
Expand Down

0 comments on commit ee62e56

Please sign in to comment.