Skip to content

Commit

Permalink
Merge pull request #835 from debiandebiandebian/fix-typo-in-comments
Browse files Browse the repository at this point in the history
Fix typo in comments
  • Loading branch information
beorn7 committed Feb 8, 2021
2 parents b8fcd28 + 9443f44 commit d3e175d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prometheus/metric.go
Expand Up @@ -58,7 +58,7 @@ type Metric interface {
}

// Opts bundles the options for creating most Metric types. Each metric
// implementation XXX has its own XXXOpts type, but in most cases, it is just be
// implementation XXX has its own XXXOpts type, but in most cases, it is just
// an alias of this type (which might change when the requirement arises.)
//
// It is mandatory to set Name to a non-empty string. All other fields are
Expand Down
4 changes: 2 additions & 2 deletions prometheus/vec.go
Expand Up @@ -167,8 +167,8 @@ func (m *MetricVec) CurryWith(labels Labels) (*MetricVec, error) {
// calling the newMetric function provided during construction of the
// MetricVec).
//
// It is possible to call this method without using the returned Metry to only
// create the new Metric but leave it in its intitial state.
// It is possible to call this method without using the returned Metric to only
// create the new Metric but leave it in its initial state.
//
// Keeping the Metric for later use is possible (and should be considered if
// performance is critical), but keep in mind that Reset, DeleteLabelValues and
Expand Down

0 comments on commit d3e175d

Please sign in to comment.