Skip to content

Commit ba63853

Browse files
author
宋光璠
committed
format
1 parent 56462f5 commit ba63853

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

be/src/io/fs/http_file_system.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
#include "io/fs/http_file_system.h"
1919

20-
2120
#include <fstream>
2221

2322
#include "common/status.h"
@@ -60,8 +59,8 @@ Status HttpFileSystem::download_impl(const Path& remote_file, const Path& local_
6059
FileReaderSPtr reader;
6160
RETURN_IF_ERROR(open_file(remote_file, &reader));
6261

63-
auto *http_reader = dynamic_cast<HttpFileReader*>(reader.get());
64-
if(http_reader == nullptr) {
62+
auto* http_reader = dynamic_cast<HttpFileReader*>(reader.get());
63+
if (http_reader == nullptr) {
6564
return Status::InternalError("Expected HttpFileReader");
6665
}
6766

be/src/io/fs/http_file_system.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class HttpFileSystem final : public RemoteFileSystem {
8686
}
8787

8888
Status exists_impl(const Path& path, bool* res) const override;
89+
8990
private:
9091
HttpFileSystem(Path&& root_path, std::string id);
9192
Status init(const std::string& url);

0 commit comments

Comments
 (0)