mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
mapreduce: add missing comma and space in mapreduce_request operator<<
This change is introduced to fix the broken formating of
mapreduce_request `operator<<`. Due to lack of ", " before "cmd"
the output was `reductions=[...]cmd=read_command{...}` instead of
`reductions=[...], cmd=read_command{...}`.
This commit is contained in:
2
query.cc
2
query.cc
@@ -100,7 +100,7 @@ std::ostream& operator<<(std::ostream& out, const mapreduce_request& r) {
|
||||
if (r.shard_id_hint) {
|
||||
fmt::print(out, ", shard_id_hint={}", r.shard_id_hint.value());
|
||||
}
|
||||
fmt::print(out, "cmd={}, pr={}, cl={}, timeout(ms)={}}}",
|
||||
fmt::print(out, ", cmd={}, pr={}, cl={}, timeout(ms)={}}}",
|
||||
r.cmd, r.pr, r.cl, ms);
|
||||
return out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user