Skip to content

Commit 5d9f405

Browse files
authored
chore: Remove stale comment about reloader multierror (#17711)
Remove stale comment after bumping beats in #15458
1 parent 98bcab0 commit 5d9f405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/beatcmd/reloader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ func (r *Reloader) Run(ctx context.Context) error {
142142
}
143143

144144
// reloadInput (re)loads input configuration.
145-
// It returns a *multierror.MultiError as libbeat manager error handling is tightly coupled
146-
// with its own reloadable list implementation in libbeat/cfgfile/list.go.
145+
// It has to return a joined error similar to the libbeat reloadable list implementation in libbeat/cfgfile/list.go,
146+
// such that the returned error is corrected parsed by libbeat managerV2.
147147
//
148148
// Note: reloadInputs may be called before the Reloader is running.
149149
func (r *Reloader) reloadInputs(configs []*reload.ConfigWithMeta) error {

0 commit comments

Comments
 (0)