Skip to content

Commit

Permalink
fix: replace http::// with http:// (vesoft-inc#622)
Browse files Browse the repository at this point in the history
Co-authored-by: Dashuang Li <[email protected]>
  • Loading branch information
nebula-bots and defp authored Feb 21, 2022
1 parent 055a20c commit fdd3387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/storage/http/StorageHttpPropertyHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void StorageHttpPropertyHandler::onRequest(std::unique_ptr<HTTPMessage> 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;
}
Expand All @@ -51,7 +51,7 @@ void StorageHttpPropertyHandler::onRequest(std::unique_ptr<HTTPMessage> 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;
}
Expand Down

0 comments on commit fdd3387

Please sign in to comment.