diff --git a/src/storage/http/StorageHttpPropertyHandler.cpp b/src/storage/http/StorageHttpPropertyHandler.cpp index ecb283364c7..479545f9203 100644 --- a/src/storage/http/StorageHttpPropertyHandler.cpp +++ b/src/storage/http/StorageHttpPropertyHandler.cpp @@ -41,7 +41,7 @@ void StorageHttpPropertyHandler::onRequest(std::unique_ptr headers) } else { resp_ = "Space should not be empty. " - "Usage: http:://ip:port/rocksdb_property?space=xxx&property=yyy"; + "Usage: http://ip:port/rocksdb_property?space=xxx&property=yyy"; err_ = HttpCode::E_ILLEGAL_ARGUMENT; break; } @@ -51,7 +51,7 @@ void StorageHttpPropertyHandler::onRequest(std::unique_ptr headers) } else { resp_ = "Property should not be empty. " - "Usage: http:://ip:port/rocksdb_property?space=xxx&property=yyy"; + "Usage: http://ip:port/rocksdb_property?space=xxx&property=yyy"; err_ = HttpCode::E_ILLEGAL_ARGUMENT; break; }