Skip to content
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

Merged
merged 7 commits into from
Nov 10, 2023
Merged

feat: bump go to 1.20 #12031

merged 7 commits into from
Nov 10, 2023

Conversation

kruskall
Copy link
Member

@kruskall kruskall commented Nov 9, 2023

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

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

Related issues

@kruskall kruskall requested a review from a team November 10, 2023 15:12
@@ -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")
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member Author

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

@kruskall kruskall enabled auto-merge (squash) November 10, 2023 17:23
@kruskall kruskall merged commit a10581d into elastic:7.17 Nov 10, 2023
8 checks passed
@kruskall kruskall deleted the go/1.20 branch November 16, 2023 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants