Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better handling for Kubernetes Update and Delete watcher events #18882

Merged
merged 13 commits into from
Jun 17, 2020
Prev Previous commit
Next Next commit
Fix state
Signed-off-by: chrismark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark committed Jun 3, 2020
commit ad14e501aa1f36c7a7f263cb08aa02f28a6d6b2a
4 changes: 2 additions & 2 deletions libbeat/common/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (

// ErrInputNotFinished struct for reporting errors related to not finished inputs
type ErrInputNotFinished struct {
state string
State string
}

// Error method of ErrInputNotFinished
func (e *ErrInputNotFinished) Error() string {
return fmt.Sprintf("Can only start an input when all related states are finished: %+v", e.state)
return fmt.Sprintf("Can only start an input when all related states are finished: %+v", e.State)
}