-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: bump go to 1.20 #12031
feat: bump go to 1.20 #12031
Conversation
@@ -375,7 +375,7 @@ func getAPIKey(client es.Client, id, name *string, validOnly, asJSON bool) error | |||
if validOnly && (apikey.Invalidated || expiry == "expired") { | |||
continue | |||
} | |||
creation := time.Unix(apikey.Creation/1000, 0).Format("2006-02-01 15:04") | |||
creation := time.Unix(apikey.Creation/1000, 0).Format("2006-01-02 15:04") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't a functional change right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is in the sense it's change the log message (date format is different) but the old format is wrong and reported by the linter.
I guess we can keep it to move this PR forward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, it's reported by go vet which does not have an ignore mechanism
This reverts commit d59a13f.
Motivation/summary
Trying to unlock #11940
Beats bumped the go version so do the same and split it out from the beats bump PR.
Checklist
apmpackage
have been made)For functional changes, consider:
How to test these changes
Related issues