From 4e43930af5b18e5f16f1bb478be10f345cf4df41 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Mon, 9 Jun 2025 14:02:29 +0100 Subject: [PATCH] knotserver: accept cursor to begin eventstream from Change-Id: nwywsukykxqvwquyusqywqqwqxnswqnm Signed-off-by: oppiliappan --- knotserver/events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knotserver/events.go b/knotserver/events.go index 7cc7f3a..182a119 100644 --- a/knotserver/events.go +++ b/knotserver/events.go @@ -42,7 +42,7 @@ func (h *Handle) Events(w http.ResponseWriter, r *http.Request) { } }() - cursor := "" + cursor := r.URL.Query().Get("cursor") // complete backfill first before going to live data l.Info("going through backfill", "cursor", cursor) -- 2.43.0