Fix restart loop in NopModule
-
Log when starboard vulnerability agent module is disabled
-
Allow a module factory to return a nil module to disable the module
-
Fix restart loop in NopModule
The modagent.NopModule
violated the contract of a module,
which states
that a module must only return from Run
when it's asked to do so.
We must wait for the context to be canceled.
Closes https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/issues/524 #525 (closed)