Skip to content

Commit

Permalink
Fix typo, use uppercase (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtojek authored Mar 30, 2020
1 parent 0b159cd commit 440ec95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,14 +264,14 @@ func (p *Package) Validate() error {
if p.Requirement.Elasticsearch.Versions != "" {
_, err := semver.ParseRange(p.Requirement.Elasticsearch.Versions)
if err != nil {
return fmt.Errorf("invalid elasticsesrch versions: %s, %s", p.Requirement.Elasticsearch.Versions, err)
return fmt.Errorf("invalid Elasticsearch versions: %s, %s", p.Requirement.Elasticsearch.Versions, err)
}
}

if p.Requirement.Kibana.Versions != "" {
_, err := semver.ParseRange(p.Requirement.Kibana.Versions)
if err != nil {
return fmt.Errorf("invalid kibana versions: %s, %s", p.Requirement.Kibana.Versions, err)
return fmt.Errorf("invalid Kibana versions: %s, %s", p.Requirement.Kibana.Versions, err)
}
}

Expand Down

0 comments on commit 440ec95

Please sign in to comment.