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
Remove the extern
ed StatBag
from ws-auth
#13613
Remove the extern
ed StatBag
from ws-auth
#13613
Conversation
Pull Request Test Coverage Report for Build 7289561803
💛 - Coveralls |
This may require a rebase after #13153 which I hope to merge soon. |
This indeed requires a rebase now |
e3429df
to
ad52871
Compare
Rebased and cleaned up |
}); | ||
} | ||
resp->setJsonBody(doc); | ||
} | ||
|
||
void apiServerStatistics(HttpRequest* req, HttpResponse* resp) { | ||
void apiServerStatistics(HttpRequest* req, HttpResponse* resp) |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
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.
LGTM!
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.
I was mid-review when you merged (which is fine!). Submitting my one comment anyway :)
Short description
This removes the
extern StatBag
object fromws-auth
and instead passes it around as a function/method argument. We should do this, in general, as part of a wider cleanup.This also cleans up and formats some files automatically using
clang-format
.Better reviewed on a per-commit basis.
Checklist
I have: