File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
staging/src/k8s.io/component-base/metrics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ func (o *GaugeOpts) annotateStabilityLevel() {
125
125
126
126
// convenience function to allow easy transformation to the prometheus
127
127
// counterpart. This will do more once we have a proper label abstraction
128
- func (o GaugeOpts ) toPromGaugeOpts () prometheus.GaugeOpts {
128
+ func (o * GaugeOpts ) toPromGaugeOpts () prometheus.GaugeOpts {
129
129
return prometheus.GaugeOpts {
130
130
Namespace : o .Namespace ,
131
131
Subsystem : o .Subsystem ,
@@ -169,7 +169,7 @@ func (o *HistogramOpts) annotateStabilityLevel() {
169
169
170
170
// convenience function to allow easy transformation to the prometheus
171
171
// counterpart. This will do more once we have a proper label abstraction
172
- func (o HistogramOpts ) toPromHistogramOpts () prometheus.HistogramOpts {
172
+ func (o * HistogramOpts ) toPromHistogramOpts () prometheus.HistogramOpts {
173
173
return prometheus.HistogramOpts {
174
174
Namespace : o .Namespace ,
175
175
Subsystem : o .Subsystem ,
@@ -224,7 +224,7 @@ var (
224
224
225
225
// convenience function to allow easy transformation to the prometheus
226
226
// counterpart. This will do more once we have a proper label abstraction
227
- func (o SummaryOpts ) toPromSummaryOpts () prometheus.SummaryOpts {
227
+ func (o * SummaryOpts ) toPromSummaryOpts () prometheus.SummaryOpts {
228
228
// we need to retain existing quantile behavior for backwards compatibility,
229
229
// so let's do what prometheus used to do prior to v1.
230
230
objectives := o .Objectives
You can’t perform that action at this time.
0 commit comments