Skip to content

Commit

Permalink
Merge pull request #17 from maier/master
Browse files Browse the repository at this point in the history
v0.5.7
  • Loading branch information
maier authored May 1, 2020
2 parents 1e72282 + cccadb6 commit 1831a0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# v0.5.7

* upd: lint fix
* fix: templates for plugins with dashes in name

# v0.5.6
Expand Down
2 changes: 1 addition & 1 deletion internal/server/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (s *Server) broker() http.Handler {

w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
fmt.Fprintln(w, fmt.Sprintf(`{"broker_id": "%d"}`, brokerID))
fmt.Fprintf(w, `{"broker_id": "%d"}\n`, brokerID)
s.stats.Increment(fmt.Sprintf("%s`%d", r.URL.Path, http.StatusOK))
s.stats.Increment(fmt.Sprintf("%s`%s`%d", r.URL.Path, mode, http.StatusOK))
}),
Expand Down

0 comments on commit 1831a0d

Please sign in to comment.