Skip to content

Commit

Permalink
fix broken json logs push path (#3261)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepsukhani authored Jan 29, 2021
1 parent 51952da commit d357ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/distributor/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func ParseRequest(r *http.Request) (*logproto.PushRequest, error) {
)
}()

switch r.Header.Get(contentType) {
switch contentType {
case applicationJSON:
var err error

Expand Down

0 comments on commit d357ad9

Please sign in to comment.