Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Dec 13, 2024
1 parent 0eb7d19 commit 3fcdec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func (c *Config) IsValid() error {
}

if c.ExternalDBSettings.DataSource != "" && c.DBDumpURI != "" {
return errors.New("both ExternalDBSettings.DataSource and DbdumpURI are set, only one can be set")
return fmt.Errorf("both ExternalDBSettings.DataSource and DBDumpURI are set, only one can be set")
}

if err := c.validateElasticSearchConfig(); err != nil {
Expand Down

0 comments on commit 3fcdec4

Please sign in to comment.