From 5122dc6cc08ad7d30bbad1bdef5b8b7bdc771a22 Mon Sep 17 00:00:00 2001 From: Bjoern Rabenstein Date: Mon, 23 Jun 2014 11:45:49 +0200 Subject: [PATCH] Fix doc comment typo. Change-Id: I19b4b553b01823da0c1015d779f1f05b2c2cfb5b --- prometheus/registry.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/prometheus/registry.go b/prometheus/registry.go index d513e58..52bbd92 100644 --- a/prometheus/registry.go +++ b/prometheus/registry.go @@ -170,12 +170,11 @@ func PanicOnCollectError(b bool) { } // EnableCollectChecks enables (or disables) additional consistency checks -// during metrics collection. By default, These additional checks are not -// enabled by default because they inflict a performance penalty and the errors -// they check for can only happen if the used Metric and Collector types have -// internal programming errors. It can be helpful to enable these checks while -// working with custom Collectors or Metrics whose correctness is not well -// established yet. +// during metrics collection. These additional checks are not enabled by default +// because they inflict a performance penalty and the errors they check for can +// only happen if the used Metric and Collector types have internal programming +// errors. It can be helpful to enable these checks while working with custom +// Collectors or Metrics whose correctness is not well established yet. func EnableCollectChecks(b bool) { defRegistry.collectChecksEnabled = b }