-
Notifications
You must be signed in to change notification settings - Fork 67
introduce Event type and subsystem for event recorder #370
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
Conversation
b3d64a1
to
d38b04f
Compare
d3f47a2
to
4ab5b49
Compare
Bucket string `json:"bucket,omitempty"` | ||
Object string `json:"object,omitempty"` | ||
VersionID string `json:"versionId,omitempty"` | ||
Tags map[string]interface{} `json:"tags,omitempty"` |
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.
Aren't tags map[string]string
?
if resp.StatusCode != http.StatusOK { | ||
return | ||
} | ||
dec := json.NewDecoder(resp.Body) |
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.
If this is to be a high throughput API, consider using msgp
for the transfer.
You will need to get rid of the interface{}
values. Let me know if you need assistance in setting that up.
(it should be pretty similar to this)
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.
these jwt libraries have claims defined in {}interface
@klauspost let me try to simplify it
4ab5b49
to
7981314
Compare
Please rebase this with main branch now and move this code to v4 |
moving this PR to main |
|
ec is updated with v4 now, closing this PR |
No description provided.