Skip to content

Commit

Permalink
update influx success write response as 204
Browse files Browse the repository at this point in the history
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
  • Loading branch information
jkandasa committed Dec 6, 2021
1 parent 42a06f9 commit 1d8cacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/influxdbreceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,5 @@ func (r *metricsReceiver) handleWrite(w http.ResponseWriter, req *http.Request)
return
}

w.WriteHeader(http.StatusAccepted)
w.WriteHeader(http.StatusNoContent)
}

0 comments on commit 1d8cacd

Please sign in to comment.