Skip to content

Commit

Permalink
Fix function for escaping host tag chars.
Browse files Browse the repository at this point in the history
refs #5963
  • Loading branch information
Federico Pires authored and Crunsher committed Feb 20, 2018
1 parent 92016ac commit fe9e332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/perfdata/opentsdbwriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void OpenTsdbWriter::CheckResultHandler(const Checkable::Ptr& checkable, const C
String metric;
std::map<String, String> tags;

String escaped_hostName = EscapeMetric(host->GetName());
String escaped_hostName = EscapeTag(host->GetName());
tags["host"] = escaped_hostName;

double ts = cr->GetExecutionEnd();
Expand Down

0 comments on commit fe9e332

Please sign in to comment.