From 96a18ff995507699156e862b19dfb32daeefa904 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Fri, 29 May 2026 18:52:02 -0700 Subject: [PATCH] labelmaker: small comment --- cmd/labelmaker/stream.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/labelmaker/stream.go b/cmd/labelmaker/stream.go index bd761d3..4681606 100644 --- a/cmd/labelmaker/stream.go +++ b/cmd/labelmaker/stream.go @@ -100,6 +100,7 @@ func (srv *Server) SubscribeLabelsEndpoint(w http.ResponseWriter, r *http.Reques http.Error(w, fmt.Sprintf(`{"error": "InternalServerError", "message": "%s"}`, err.Error()), http.StatusInternalServerError) return } + // TODO: verify that this check is working (?) if cursor > high { w.Header().Set("Content-Type", "application/json") http.Error(w, fmt.Sprintf(`{"error": "FutureCursor", "message": "Current high cursor: %d"}`, high), http.StatusBadRequest) -- 2.51.2