-
Notifications
You must be signed in to change notification settings - Fork 45
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
RSDK-9290 - Bump go to 1.23 #392
Conversation
- gen$ | ||
- vendor$ | ||
- test$ | ||
skip-dirs-use-default: false | ||
tests: true | ||
linters: | ||
enable-all: true | ||
disable: | ||
- asasalint |
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.
all the changes to disabled linters are mirrored from rdk
@@ -57,7 +57,7 @@ func NewCloudExporter(opts CloudOptions) (Exporter, error) { | |||
zone := os.Getenv("GCP_COMPUTE_ZONE") | |||
if zone == "" { | |||
// Get from GCP Metadata | |||
if zone, err = metadata.Zone(); err != nil { | |||
if zone, err = metadata.ZoneWithContext(sdOpts.Context); err != nil { |
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.
could see just using a background context as well, not clear if the context used here is the right one
it was more work to get the linter to work properly without bumping the go version
mostly took inspiration from the equivalent bump in rdk
most of the changes came from just running lint