Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 139d7c8

Browse files
njhaleg-linville
andcommitted
Rename local variable
Co-authored-by: Grant Linville <grant@acorn.io> Signed-off-by: Nick Hale <4175918+njhale@users.noreply.github.com>
1 parent 7517912 commit 139d7c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/server/registry/apigroups/acorn/events/strategy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ var (
298298
func parseTime(raw string) (*internalv1.MicroTime, error) {
299299
var errs []error
300300
for _, layout := range supportedLayouts {
301-
since, err := time.Parse(layout, raw)
301+
t, err := time.Parse(layout, raw)
302302
if err == nil {
303-
return z.P(internalv1.NewMicroTime(since)), nil
303+
return z.P(internalv1.NewMicroTime(t)), nil
304304
}
305305

306306
errs = append(errs, err)

0 commit comments

Comments
 (0)