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 committed Sep 25, 2023
1 parent abbb741 commit c7b6984
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 @@ -358,7 +358,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 c7b6984

Please sign in to comment.