github-actions[bot] commented on code in PR #27798:
URL: https://github.com/apache/doris/pull/27798#discussion_r1410209620
##########
be/src/agent/cgroup_cpu_ctl.cpp:
##########
@@ -91,6 +103,23 @@ Status CgroupCpuCtl::write_cg_sys_file(std::string
file_path, int value, std::st
return Status::OK();
}
+Status CgroupCpuCtl::exec_cgroup_cmd(std::string delete_cmd) {
Review Comment:
warning: method 'exec_cgroup_cmd' can be made static
[readability-convert-member-functions-to-static]
```suggestion
static Status CgroupCpuCtl::exec_cgroup_cmd(std::string delete_cmd) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]