File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1501,7 +1501,7 @@ type ServiceMonitorSpec struct {
15011501 // HTTP scheme to use for scraping.
15021502 // See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#endpoint
15031503 // +optional
1504- Scheme monitoringv1.Scheme `json:"scheme,omitempty"`
1504+ Scheme * monitoringv1.Scheme `json:"scheme,omitempty"`
15051505 // Optional HTTP URL parameters
15061506 // See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#endpoint
15071507 // +optional
@@ -1586,7 +1586,7 @@ func (in *ServiceMonitorSpec) CreateEndpoint() monitoringv1.Endpoint {
15861586
15871587 return monitoringv1.Endpoint {
15881588 Path : in .Path ,
1589- Scheme : & in .Scheme ,
1589+ Scheme : in .Scheme ,
15901590 Params : in .Params ,
15911591 Interval : in .Interval ,
15921592 ScrapeTimeout : in .ScrapeTimeout ,
You can’t perform that action at this time.
0 commit comments