diff --git a/src/meta/http/test/MetaHttpReplaceHandlerTest.cpp b/src/meta/http/test/MetaHttpReplaceHandlerTest.cpp index 1cd1b6782cd..c0c001f342d 100644 --- a/src/meta/http/test/MetaHttpReplaceHandlerTest.cpp +++ b/src/meta/http/test/MetaHttpReplaceHandlerTest.cpp @@ -16,8 +16,6 @@ #include "webservice/Router.h" #include "webservice/WebService.h" -DECLARE_int32(ws_storage_http_port); - namespace nebula { namespace meta { diff --git a/src/meta/test/JobManagerTest.cpp b/src/meta/test/JobManagerTest.cpp index 34ecb6ccec3..e0e677739fe 100644 --- a/src/meta/test/JobManagerTest.cpp +++ b/src/meta/test/JobManagerTest.cpp @@ -20,8 +20,6 @@ #include "meta/test/TestUtils.h" #include "webservice/WebService.h" -DECLARE_int32(ws_storage_http_port); - namespace nebula { namespace meta { diff --git a/src/webservice/Common.cpp b/src/webservice/Common.cpp index f73f8907bff..9fdf8a8cffe 100644 --- a/src/webservice/Common.cpp +++ b/src/webservice/Common.cpp @@ -7,9 +7,6 @@ #include -DEFINE_int32(ws_meta_http_port, 11000, "Port to listen on Meta with HTTP protocol"); -DEFINE_int32(ws_storage_http_port, 12000, "Port to listen on Storage with HTTP protocol"); - namespace nebula { std::unordered_map WebServiceUtils::kStatusStringMap_ = {