diff --git a/pkg/plugin/system/system.go b/pkg/plugin/system/system.go index 6de8f3f3b..731c5d7f0 100644 --- a/pkg/plugin/system/system.go +++ b/pkg/plugin/system/system.go @@ -201,7 +201,7 @@ func (ps *pluginSystem) TestHooksInterceptor(streams ioutils.Streams) intercepto return ps.commandHooksInterceptor("PostTestHook", streams) } -// TestHooksInterceptor returns an interceptor that runs the pre and post-test +// RunHooksInterceptor returns an interceptor that runs the pre and post-run // hooks from all plugins. func (ps *pluginSystem) RunHooksInterceptor(streams ioutils.Streams) interceptors.Interceptor { return ps.commandHooksInterceptor("PostRunHook", streams)