Skip to content

Commit

Permalink
Fix spelling (#243)
Browse files Browse the repository at this point in the history
Signed-off-by: John Bampton <[email protected]>
  • Loading branch information
jbampton authored Jul 4, 2020
1 parent 886bed8 commit 546f1fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion expfmt/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (sd *SampleDecoder) Decode(s *model.Vector) error {
}

// ExtractSamples builds a slice of samples from the provided metric
// families. If an error occurrs during sample extraction, it continues to
// families. If an error occurs during sample extraction, it continues to
// extract from the remaining metric families. The returned error is the last
// error that has occurred.
func ExtractSamples(o *DecodeOptions, fams ...*dto.MetricFamily) (model.Vector, error) {
Expand Down
2 changes: 1 addition & 1 deletion model/fnv.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (
prime64 = 1099511628211
)

// hashNew initializies a new fnv64a hash value.
// hashNew initializes a new fnv64a hash value.
func hashNew() uint64 {
return offset64
}
Expand Down

0 comments on commit 546f1fd

Please sign in to comment.