From 9443f4449b7f4656af6e0646b1154bb527749460 Mon Sep 17 00:00:00 2001 From: debiandebiandebian Date: Mon, 8 Feb 2021 08:58:11 +0900 Subject: [PATCH] Fix typo in comments Signed-off-by: debiandebiandebian --- prometheus/metric.go | 2 +- prometheus/vec.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prometheus/metric.go b/prometheus/metric.go index a2b80b1c1..bf18593a9 100644 --- a/prometheus/metric.go +++ b/prometheus/metric.go @@ -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 diff --git a/prometheus/vec.go b/prometheus/vec.go index 6ba49d85b..4ababe6c9 100644 --- a/prometheus/vec.go +++ b/prometheus/vec.go @@ -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