missed one
This commit is contained in:
parent
419d38fc91
commit
bdc060fdbe
|
|
@ -104,7 +104,6 @@ func (u *UnifiPoller) Run() (err error) {
|
||||||
Namespace: defaultNamespace, // XXX: pass this in from config.
|
Namespace: defaultNamespace, // XXX: pass this in from config.
|
||||||
CollectFn: u.ExportMetrics,
|
CollectFn: u.ExportMetrics,
|
||||||
LoggingFn: u.LogExportReport,
|
LoggingFn: u.LogExportReport,
|
||||||
CollectIDS: u.Config.CollectIDS,
|
|
||||||
ReportErrors: true, // XXX: Does this need to be configurable?
|
ReportErrors: true, // XXX: Does this need to be configurable?
|
||||||
}))
|
}))
|
||||||
return http.ListenAndServe(u.Config.HTTPListen, nil)
|
return http.ListenAndServe(u.Config.HTTPListen, nil)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue