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 <blake.rouse@elastic.co>
  • Loading branch information
leehinman and blakerouse committed Sep 25, 2024
1 parent 9103b0b commit d41c801
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 d41c801

Please sign in to comment.