Skip to content

Commit

Permalink
chore: fix some comments (#1747)
Browse files Browse the repository at this point in the history
Signed-off-by: lencap <[email protected]>
  • Loading branch information
lencap authored Aug 9, 2024
1 parent cd278f0 commit 834cf5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/testoidcauth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ func machine31failureWithCachedTokensFetchANewTokenAndRetryAuth() error {
authenticatorField = reflect.NewAt(
authenticatorField.Type(),
unsafe.Pointer(authenticatorField.UnsafeAddr())).Elem()
// this is the only usage of the x packages in the test, showing the the public interface is
// this is the only usage of the x packages in the test, showing the public interface is
// correct.
authenticatorField.Interface().(*auth.OIDCAuthenticator).SetAccessToken("some random happy sunshine string")

Expand Down Expand Up @@ -1180,7 +1180,7 @@ func human31usesSpeculativeAuth() error {
authenticatorField = reflect.NewAt(
authenticatorField.Type(),
unsafe.Pointer(authenticatorField.UnsafeAddr())).Elem()
// This is the only usage of the x packages in the test, showing the the public interface is
// This is the only usage of the x packages in the test, showing the public interface is
// correct.
authenticatorField.Interface().(*auth.OIDCAuthenticator).SetAccessToken(string(accessToken))

Expand Down

0 comments on commit 834cf5e

Please sign in to comment.