-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[core] Cover cpplint for ray/tree/master/src/ray/gcs/gcs_server
#51197
base: master
Are you sure you want to change the base?
Conversation
Hey,@dentiny. Would you mind to take a look:) |
|
||
#include "ray/stats/metric.h" | ||
|
||
DEFINE_stats(health_check_rpc_latency_ms, | ||
"Latency of rpc request for health check.", | ||
(), | ||
({1, 10, 100, 1000, 10000}, ), | ||
({1, 10, 100, 1000, 10000}, ), // NOLINT |
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.
src/ray/gcs/gcs_server/gcs_health_check_manager.cc:24: Extra space before ) [whitespace/parens] [2]
Sounds reasonable to me, maybe we just remove the space? Curious does it work if we make it
({1, 10, 100, 1000, 10000}),
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.
Fixed.
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.
Code change LGTM, could you please change the precommit file as well?
Line 50 in e7268f2
files: ^src/ray/(util|raylet_client|internal|scheduling|pubsub|object_manager/plasma|rpc(?:/.*)?)/.*\.(h|cc)$ |
Signed-off-by: Ziy1-Tan <[email protected]>
Signed-off-by: Ziy1-Tan <[email protected]>
Sure. |
Linter check seems to fail for premerge, could you please fix it? Thank you! |
Why are these changes needed?
Ensure all .h and .cc files in
src/ray/gcs/gcs_server
comply with cpplint rules.This is the command that I had ran and the console output
Related issue number
Closes #51184
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.