Skip to content

Commit

Permalink
Fix misspell in Beats repo
Browse files Browse the repository at this point in the history
Running `make misspell`.
  • Loading branch information
ruflin committed Jul 23, 2018
1 parent ff45ef8 commit 6273807
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion filebeat/registrar/registrar.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func readStatesFrom(in io.Reader) ([]file.State, error) {
return states, nil
}

// fixStates cleans up the regsitry states when updating from an older version
// fixStates cleans up the registry states when updating from an older version
// of filebeat potentially writing invalid entries.
func fixStates(states []file.State) []file.State {
if len(states) == 0 {
Expand Down
4 changes: 2 additions & 2 deletions filebeat/scripts/generator/fields/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func newField(pattern string) field {
}

// isValidFormat checks if the input can be split correctly
// 1. if lenght is 2, the format is {type}:{field.elements}
// 2. if the lenght is 3, the format is {type}:{field.elements}:{hint}
// 1. if length is 2, the format is {type}:{field.elements}
// 2. if the length is 3, the format is {type}:{field.elements}:{hint}
func isValidFormat(ee []string) bool {
return len(ee) == 2 || len(ee) == 3
}
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6766,7 +6766,7 @@ Kibana instance's health status
--
type: long
Number of client connections made to the server. Note that browsers can send multiple simultaneous connections to request mulitple server assets at once, and they can re-use established connections.
Number of client connections made to the server. Note that browsers can send multiple simultaneous connections to request multiple server assets at once, and they can re-use established connections.
--
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kibana/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion metricbeat/module/kibana/stats/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- name: concurrent_connections
type: long
description: >
Number of client connections made to the server. Note that browsers can send multiple simultaneous connections to request mulitple server assets at once, and they can re-use established connections.
Number of client connections made to the server. Note that browsers can send multiple simultaneous connections to request multiple server assets at once, and they can re-use established connections.
- name: process
type: group
description: >
Expand Down

0 comments on commit 6273807

Please sign in to comment.