Skip to content

Commit

Permalink
Fixing ping call with new request session mechanism (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
dciangot authored Dec 13, 2024
2 parents 12f12a7 + 811c25f commit 5380c5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/interlink/api/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ func (h *InterLinkHandler) Ping(w http.ResponseWriter, _ *http.Request) {
log.G(h.Ctx).Info("InterLink: forwarding GetStatus call to sidecar")
req.Header.Set("Content-Type", "application/json")
log.G(h.Ctx).Debug(req)
_, err = ReqWithError(h.Ctx, req, w, start, span, true)
sessionContext := GetSessionContext(req)
_, err = ReqWithError(h.Ctx, req, w, start, span, true, false, sessionContext, http.DefaultClient)
if err != nil {
log.G(h.Ctx).Error(err)
w.WriteHeader(http.StatusServiceUnavailable)
Expand Down

0 comments on commit 5380c5c

Please sign in to comment.