From 6d619ff5a8a0a77b24db2545ce70cb8e4e664436 Mon Sep 17 00:00:00 2001 From: Tong Date: Wed, 22 Mar 2017 21:29:18 +0800 Subject: [PATCH] Fix typo --- prometheus/value.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/value.go b/prometheus/value.go index 7d3e810..ff75ce5 100644 --- a/prometheus/value.go +++ b/prometheus/value.go @@ -44,7 +44,7 @@ var errInconsistentCardinality = errors.New("inconsistent label cardinality") // ValueType. This is a low-level building block used by the library to back the // implementations of Counter, Gauge, and Untyped. type value struct { - // valBits containst the bits of the represented float64 value. It has + // valBits contains the bits of the represented float64 value. It has // to go first in the struct to guarantee alignment for atomic // operations. http://golang.org/pkg/sync/atomic/#pkg-note-BUG valBits uint64