From cf41e0890b503b24d77d992f0ed412ba58df1d5a Mon Sep 17 00:00:00 2001 From: Easwar Swaminathan Date: Thu, 11 Jul 2024 09:47:12 -0700 Subject: [PATCH] xds: fix typos (#7405) --- xds/bootstrap/credentials.go | 2 +- xds/csds/csds_e2e_test.go | 2 +- xds/googledirectpath/googlec2p_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xds/bootstrap/credentials.go b/xds/bootstrap/credentials.go index cb022b45de18..578e1278970d 100644 --- a/xds/bootstrap/credentials.go +++ b/xds/bootstrap/credentials.go @@ -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) { diff --git a/xds/csds/csds_e2e_test.go b/xds/csds/csds_e2e_test.go index aad9b0d14c67..6bfa45ec9482 100644 --- a/xds/csds/csds_e2e_test.go +++ b/xds/csds/csds_e2e_test.go @@ -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() diff --git a/xds/googledirectpath/googlec2p_test.go b/xds/googledirectpath/googlec2p_test.go index e26993d8a435..be7e6be6010f 100644 --- a/xds/googledirectpath/googlec2p_test.go +++ b/xds/googledirectpath/googlec2p_test.go @@ -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)