Fix doc comment typo.

Change-Id: I19b4b553b01823da0c1015d779f1f05b2c2cfb5b
This commit is contained in:
Bjoern Rabenstein 2014-06-23 11:45:49 +02:00
parent 8234d12ed0
commit 5122dc6cc0
1 changed files with 5 additions and 6 deletions

View File

@ -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
}