Skip to content

Commit

Permalink
fix trivial comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pavolloffay committed Aug 15, 2017
1 parent 7b4e610 commit 990f499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/collector/app/zipkin/http_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (aH *APIHandler) saveSpans(w http.ResponseWriter, r *http.Request) {
return
}
} else {
http.Error(w, "Only Content-Type:application/x-thrift is supported at the moment", http.StatusBadRequest)
http.Error(w, "Not supported Content-Type", http.StatusBadRequest)
}

if len(tSpans) > 0 {
Expand Down
1 change: 1 addition & 0 deletions cmd/collector/app/zipkin/zipkin_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func endpointToThrift(endp endpoint) (*zipkincore.Endpoint, error) {
return &zipkincore.Endpoint{
ServiceName: endp.ServiceName,
Port: endp.Port,
// TODO update zipkin.thrift to include ipv6
Ipv4: ipv4,
}, nil
}
Expand Down

0 comments on commit 990f499

Please sign in to comment.