Skip to content

Commit

Permalink
Update x-pack/filebeat/fbreceiver/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Blake Rouse <[email protected]>
  • Loading branch information
leehinman and blakerouse committed Sep 24, 2024
1 parent 38d1b5d commit d7a5211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/filebeat/fbreceiver/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Config struct {
// Validate checks if the configuration in valid
func (cfg *Config) Validate() error {
if len(cfg.Beatconfig) == 0 {
return fmt.Errorf("NO config sent")
return fmt.Errorf("Configuration is required")
}
_, prs := cfg.Beatconfig["filebeat"]
if !prs {
Expand Down

0 comments on commit d7a5211

Please sign in to comment.