Skip to content

Commit

Permalink
Better organize linebreaks
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed Jul 25, 2022
1 parent 8561400 commit 7efee5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/receive/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ func (h *Handler) receiveHTTP(w http.ResponseWriter, r *http.Request) {
var err error
span, ctx := tracing.StartSpan(r.Context(), "receive_http")
defer span.Finish()
tenant := r.Header.Get(h.options.TenantHeader)

tenant := r.Header.Get(h.options.TenantHeader)
if tenant == "" {
tenant = h.options.DefaultTenantID
}
Expand Down

0 comments on commit 7efee5e

Please sign in to comment.