-
Notifications
You must be signed in to change notification settings - Fork 295
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
Change KMSKeyInfo.CreatedAt to a time.Time #3421
Conversation
Don't know why this JS build is failing in the CI... |
We had the same failure in EOS console since yesterday, so looks like an external issue. |
This should fix the Javascript action: #3423 |
88d96a2
to
3181ce8
Compare
3181ce8
to
df0f2b9
Compare
@cesnietor govet complained about I have just pushed a commit to change that to Another option is to change the linter configuration, let me know. |
@marktheunissen We've seen this in more repositories. It looks like the most recent |
I think it warns, because there could be some unexpected behavior when the error message contains formatting instructions, such as |
Please look at a more comprehensive update @marktheunissen at #3425 |
@ramondeklein I don't disagree.... :) generally speaking, the vetting is correct. My comment was just about this specific case, where the function being called is // New creates a new API error with a code and a message
func New(code int32, message string, args ...interface{}) Error {
if len(args) > 0 {
return &apiError{
code: code,
message: fmt.Sprintf(message, args...),
}
}
return &apiError{
code: code,
message: message,
}
} My comment was " the .New() call handled it fine before.". What I meant is that passing 0 args bypasses the call to @harshavardhana has completed this work in the PR #3425 so I'll close this, thanks! |
Discussion here: minio/minio#20223 (comment)
Other pull requests: