Skip to content

Commit 9443f44

Browse files
author
debiandebiandebian
committed
Fix typo in comments
Signed-off-by: debiandebiandebian <[email protected]>
1 parent b8fcd28 commit 9443f44

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

prometheus/metric.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type Metric interface {
5858
}
5959

6060
// Opts bundles the options for creating most Metric types. Each metric
61-
// implementation XXX has its own XXXOpts type, but in most cases, it is just be
61+
// implementation XXX has its own XXXOpts type, but in most cases, it is just
6262
// an alias of this type (which might change when the requirement arises.)
6363
//
6464
// It is mandatory to set Name to a non-empty string. All other fields are

prometheus/vec.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ func (m *MetricVec) CurryWith(labels Labels) (*MetricVec, error) {
167167
// calling the newMetric function provided during construction of the
168168
// MetricVec).
169169
//
170-
// It is possible to call this method without using the returned Metry to only
171-
// create the new Metric but leave it in its intitial state.
170+
// It is possible to call this method without using the returned Metric to only
171+
// create the new Metric but leave it in its initial state.
172172
//
173173
// Keeping the Metric for later use is possible (and should be considered if
174174
// performance is critical), but keep in mind that Reset, DeleteLabelValues and

0 commit comments

Comments
 (0)