engine: resources: Fix up docstring

This was a copy+pasta mistake.
This commit is contained in:
James Shubin
2024-02-16 06:33:29 -05:00
parent 57910470a9
commit 6f268e3a40

View File

@@ -183,8 +183,9 @@ func (obj *HTTPFlagRes) Cleanup() error {
} }
// Watch is the primary listener for this resource and it outputs events. This // 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 // particular one listens for events from incoming http requests to the flag,
// signal. // 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 { func (obj *HTTPFlagRes) Watch(ctx context.Context) error {
obj.init.Running() // when started, notify engine that we're running obj.init.Running() // when started, notify engine that we're running