Skip to content

Commit

Permalink
[exporter/coralogixexporter] Fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Apr 11, 2023
1 parent 50320d4 commit 01218c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporter/coralogixexporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ func (c *Config) Validate() error {
return fmt.Errorf("`domain` or `traces.endpoint` or `metrics.endpoint` or `logs.endpoint` not specified, please fix the configuration")
}
if c.PrivateKey == "" {
return fmt.Errorf("`privateKey` not specified, please fix the configuration file")
return fmt.Errorf("`privateKey` not specified, please fix the configuration")
}
if c.AppName == "" {
return fmt.Errorf("`appName` not specified, please fix the configuration file")
return fmt.Errorf("`appName` not specified, please fix the configuration")
}

// check if headers exists
Expand Down

0 comments on commit 01218c9

Please sign in to comment.