-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix: remove some deprecated calls #8296
Conversation
f56edde
to
b4c105b
Compare
core/corehttp/logs.go
Outdated
@@ -50,7 +50,7 @@ func LogOption() ServeOption { | |||
w.WriteHeader(200) | |||
wnf, errs := newWriteErrNotifier(w) | |||
lwriter.WriterGroup.AddWriter(wnf) | |||
log.Event(n.Context(), "log API client connected") //nolint deprecated | |||
log.Info("log API client connected") |
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.
Apparently we still need this...
grep "log API client connected" log_out
fails.
I thought we were sending events here now...
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.
Changes lgtm me, not sure what to make of the logging change though.
@Stebalien : will you update the logging or adjust the test so this passes? |
b4c105b
to
2138798
Compare
I've reversed the change for now. |
CI is broken due to ipfs/go-ipfs-api#248. |
No description provided.