Skip to content

Commit b5f6919

Browse files
committed
Purge remaining references to v0.10 from doc comments
Signed-off-by: beorn7 <[email protected]>
1 parent 50c4339 commit b5f6919

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

prometheus/registry_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (u uncheckedCollector) Collect(c chan<- prometheus.Metric) {
5353
func testHandler(t testing.TB) {
5454
// TODO(beorn7): This test is a bit too "end-to-end". It tests quite a
5555
// few moving parts that are not strongly coupled. They could/should be
56-
// tested separately. However, the changes planned for v0.10 will
56+
// tested separately. However, the changes planned for v2 will
5757
// require a major rework of this test anyway, at which time I will
5858
// structure it in a better way.
5959

prometheus/summary.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const quantileLabel = "quantile"
3939
// A typical use-case is the observation of request latencies. By default, a
4040
// Summary provides the median, the 90th and the 99th percentile of the latency
4141
// as rank estimations. However, the default behavior will change in the
42-
// upcoming v0.10 of the library. There will be no rank estimations at all by
42+
// upcoming v1.0.0 of the library. There will be no rank estimations at all by
4343
// default. For a sane transition, it is recommended to set the desired rank
4444
// estimations explicitly.
4545
//
@@ -61,7 +61,7 @@ type Summary interface {
6161
// DefObjectives are the default Summary quantile values.
6262
//
6363
// Deprecated: DefObjectives will not be used as the default objectives in
64-
// v0.10 of the library. The default Summary will have no quantiles then.
64+
// v1.0.0 of the library. The default Summary will have no quantiles then.
6565
var (
6666
DefObjectives = map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001}
6767

@@ -86,7 +86,7 @@ const (
8686
// mandatory to set Name to a non-empty string. While all other fields are
8787
// optional and can safely be left at their zero value, it is recommended to set
8888
// a help string and to explicitly set the Objectives field to the desired value
89-
// as the default value will change in the upcoming v0.10 of the library.
89+
// as the default value will change in the upcoming v1.0.0 of the library.
9090
type SummaryOpts struct {
9191
// Namespace, Subsystem, and Name are components of the fully-qualified
9292
// name of the Summary (created by joining these components with
@@ -128,7 +128,7 @@ type SummaryOpts struct {
128128
// set it to an empty map (i.e. map[float64]float64{}).
129129
//
130130
// Note that the current value of DefObjectives is deprecated. It will
131-
// be replaced by an empty map in v0.10 of the library. Please
131+
// be replaced by an empty map in v1.0.0 of the library. Please
132132
// explicitly set Objectives to the desired value to avoid problems
133133
// during the transition.
134134
Objectives map[float64]float64

0 commit comments

Comments
 (0)