github-actions[bot] commented on code in PR #17753: URL: https://github.com/apache/doris/pull/17753#discussion_r1151534370
########## be/src/http/action/meta_action.h: ########## @@ -18,23 +18,32 @@ #pragma once #include "common/status.h" -#include "http/http_handler.h" +#include "http/http_handler_with_auth.h" namespace doris { class ExecEnv; // Get Meta Info -class MetaAction : public HttpHandler { +class MetaAction : public HttpHandlerWithAuth { public: - MetaAction() = default; + MetaAction(ExecEnv* exec_env); - virtual ~MetaAction() {} + ~MetaAction() override = default; void handle(HttpRequest* req) override; private: Status _handle_header(HttpRequest* req, std::string* json_header); + +private: Review Comment: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] ```suggestion ``` **be/src/http/action/meta_action.h:35:** previously declared here ```cpp private: ^ ``` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org