Skip to content

Commit

Permalink
chore: actually validate basic
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Mar 9, 2023
1 parent e087e94 commit c05e07d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ func (cfg *Config) ValidateBasic() error {
if err := cfg.Instrumentation.ValidateBasic(); err != nil {
return fmt.Errorf("error in [instrumentation] section: %w", err)
}
if err := cfg.EventCollector.ValidateBasic(); err != nil {
return fmt.Errorf("error in [event_collector] section: %w", err)
}
return nil
}

Expand Down

0 comments on commit c05e07d

Please sign in to comment.