File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,6 @@ func main() {
9292 esClusterInfoInterval = kingpin .Flag ("es.clusterinfo.interval" ,
9393 "Cluster info update interval for the cluster label" ).
9494 Default ("5m" ).Duration ()
95- esExportLicense = kingpin .Flag ("es.license" ,
96- "Export license information" ).
97- Default ("false" ).Bool ()
9895 esCA = kingpin .Flag ("es.ca" ,
9996 "Path to PEM file that contains trusted Certificate Authorities for the Elasticsearch connection." ).
10097 Default ("" ).String ()
@@ -232,10 +229,6 @@ func main() {
232229 prometheus .MustRegister (collector .NewIlmIndicies (logger , httpClient , esURL ))
233230 }
234231
235- if * esExportLicense {
236- prometheus .MustRegister (collector .NewClusterLicense (logger , httpClient , esURL ))
237- }
238-
239232 // Create a context that is cancelled on SIGKILL or SIGINT.
240233 ctx , cancel := signal .NotifyContext (context .Background (), os .Interrupt , os .Kill )
241234 defer cancel ()
You can’t perform that action at this time.
0 commit comments