Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Signed-off-by: Yubo Wang <[email protected]>
  • Loading branch information
yubofredwang committed Mar 28, 2024
1 parent 9f953b9 commit 3a9e4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteadmin/auth/cookie_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (c CookieManager) RetrieveAccessToken(ctx context.Context, request *http.Re
if err == nil && oldAccessToken != "" {
return oldAccessToken, nil
}

Check warning on line 60 in flyteadmin/auth/cookie_manager.go

View check run for this annotation

Codecov / codecov/patch

flyteadmin/auth/cookie_manager.go#L59-L60

Added lines #L59 - L60 were not covered by tests
// If there is no old access token, we will retrieve the new access token
// If there is no old access token, we will retrieve the new splitted access token

Check failure on line 61 in flyteadmin/auth/cookie_manager.go

View workflow job for this annotation

GitHub Actions / Check for spelling errors

splitted ==> split

Check failure on line 61 in flyteadmin/auth/cookie_manager.go

View workflow job for this annotation

GitHub Actions / Check for spelling errors

splitted ==> split
accessTokenFirstHalf, err := retrieveSecureCookie(ctx, request, accessTokenCookieNameSplitFirst, c.hashKey, c.blockKey)
if err != nil {
return "", err
Expand Down

0 comments on commit 3a9e4a1

Please sign in to comment.