Skip to content

Commit

Permalink
Update internal/daemon/cache/repository_token.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jim <jlambert@hashicorp.com>
  • Loading branch information
talanknight and jimlambrt authored Sep 25, 2023
1 parent e55e9ab commit 3418e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/daemon/cache/repository_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ func cleanExpiredOrOrphanedAuthTokens(ctx context.Context, writer db.Writer, idT
or
-- sqlite stores expiration_time as a string in a format that might not match
-- what is being used by current_timestamp. Using datetime() makes the
-- formats match which allow the string comparison perfoemed here to work
-- formats match which allow the string comparison performed here to work
-- the same as a time comparison.
datetime(expiration_time) < current_timestamp
or
Expand Down

0 comments on commit 3418e6f

Please sign in to comment.