Skip to content

Commit

Permalink
try 1 year ago for testing_util init BuildDate
Browse files Browse the repository at this point in the history
  • Loading branch information
helenfufu committed Dec 4, 2024
1 parent f96ea93 commit ceb7506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/testing_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func init() {
// The BuildDate is set as part of the build process in CI so we need to
// initialize it for testing.
if version.BuildDate == "" {
version.BuildDate = time.Now().UTC().Format(time.RFC3339)
version.BuildDate = time.Now().UTC().AddDate(-1, 0, 0).Format(time.RFC3339)
}
}

Expand Down

0 comments on commit ceb7506

Please sign in to comment.