From 6f268e3a40f23a1e071b611ff0b4ebc6f4a6dde7 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Fri, 16 Feb 2024 06:33:29 -0500 Subject: [PATCH] engine: resources: Fix up docstring This was a copy+pasta mistake. --- engine/resources/http_flag.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/resources/http_flag.go b/engine/resources/http_flag.go index ec9e229d..a30de27f 100644 --- a/engine/resources/http_flag.go +++ b/engine/resources/http_flag.go @@ -183,8 +183,9 @@ func (obj *HTTPFlagRes) Cleanup() error { } // Watch is the primary listener for this resource and it outputs events. This -// particular one does absolutely nothing but block until we've received a done -// signal. +// particular one listens for events from incoming http requests to the flag, +// and notifies the engine so that CheckApply can then run and return the +// correct value on send/recv. func (obj *HTTPFlagRes) Watch(ctx context.Context) error { obj.init.Running() // when started, notify engine that we're running