performance-metrics: Use Write::write_all() for report
Write::write() is not guaranteed to write all the contents. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
1004f870e1
commit
a6d86b9496
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ fn main() {
|
|||
};
|
||||
|
||||
report_file
|
||||
.write(
|
||||
.write_all(
|
||||
serde_json::to_string_pretty(&metrics_report)
|
||||
.unwrap()
|
||||
.as_bytes(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue