Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removing last comma to hopefully format the JSON correctly for opentsdb
  • Loading branch information
Evan Langlais committed Mar 6, 2019
1 parent cbcc038 commit ee8c7e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/com/powerpanel/kso/OpenTSDBOutput.scala
Expand Up @@ -58,6 +58,7 @@ class OpenTSDBOutput extends Serializable {
body = body.concat(pstring);
}
}
body = body.dropRight(1);
body = body.concat("]");
Holder.logger.info("Post body: " + body);
var openTSDBUrl = "http://" + opentsdbIP + "/api/put"
Expand Down

0 comments on commit ee8c7e4

Please sign in to comment.