Skip to content

Fix restart loop in NopModule

Timo Furrer requested to merge fix-restart-loop-in-agent-nop-module into master
  • 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)

Merge request reports