From 6254df9ba03a0f96fdeb10e56a81e799bae4f42d Mon Sep 17 00:00:00 2001 From: na-- Date: Wed, 13 Dec 2023 13:53:18 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Mihail Stoykov <312246+mstoykov@users.noreply.github.com> --- execution/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/execution/controller.go b/execution/controller.go index 7b1e1bb92389..83a7e73fe4ff 100644 --- a/execution/controller.go +++ b/execution/controller.go @@ -8,7 +8,7 @@ type Controller interface { // called with that ID), the given callback is called and its result and // error are saved for the ID and returned for all other calls with it. // - // This is an atomic function, so any calls to it while the callback is + // This is an atomic and single-flight function, so any calls to it while the callback is // being executed the the same ID will wait for the first call to to finish // and receive its result. //