Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Fox <[email protected]>
  • Loading branch information
kfox1111 committed Oct 26, 2024
1 parent b4ebf10 commit 6d91f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {
log.Fatal(err)
}

d := svid.Expiry.Sub(time.Now()) / 2
d := time.Until(svid.Expiry) / 2
expiry, err := metav1.NewTime(svid.Expiry.Add(d)).MarshalJSON()
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 6d91f0c

Please sign in to comment.