Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
kaijchen committed Jun 24, 2024
1 parent 256b879 commit 20a47dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions be/src/runtime/load_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ class TabletStream {

Status append_data(const PStreamHeader& header, butil::IOBuf* data);
Status add_segment(const PStreamHeader& header, butil::IOBuf* data);
void add_num_segments(int64_t num_segments) {
_num_segments += num_segments;
}
void add_num_segments(int64_t num_segments) { _num_segments += num_segments; }
Status close();
int64_t id() const { return _id; }

Expand Down
4 changes: 2 additions & 2 deletions be/src/vec/sink/load_stream_stub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ void LoadStreamStub::_handle_failure(butil::IOBuf& buf, Status st) {
for (const auto& tablet : hdr.tablets()) {
oss << " " << tablet.tablet_id();
}
LOG(WARNING) << "failed to send GET_SCHEMA request, tablet_id:" << oss.str()
<< ", " << *this;
LOG(WARNING) << "failed to send GET_SCHEMA request, tablet_id:" << oss.str() << ", "
<< *this;
} break;
default:
LOG(WARNING) << "unexpected stream message " << hdr.opcode() << ", " << *this;
Expand Down

0 comments on commit 20a47dc

Please sign in to comment.