Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit e4b8acf

Browse files
isturdyg-easy
authored andcommitted
Add a missing separator in the MeasureDescriptor debug string, and consolidate adjacent strings. (#18)
1 parent cb475e9 commit e4b8acf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

opencensus/stats/internal/measure_descriptor.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ namespace opencensus {
2020
namespace stats {
2121

2222
std::string MeasureDescriptor::DebugString() const {
23-
return absl::StrCat("name: \"", name_, "\"; ", "units: \"", units_, "\"; ",
24-
"description: \"", description_, "\"",
25-
"type: ", type_ == Type::kDouble ? "double" : "int64");
23+
return absl::StrCat(
24+
"name: \"", name_, "\"; units: \"", units_, "\"; description: \"",
25+
description_, "\"; type: ", type_ == Type::kDouble ? "double" : "int64");
2626
}
2727

2828
} // namespace stats

0 commit comments

Comments
 (0)