mirror of
https://github.com/prometheus-community/ipmi_exporter
synced 2025-02-16 18:56:50 +00:00
Silence linter error
This commit is contained in:
parent
e9d24d733c
commit
a30b3518fe
2
main.go
2
main.go
@ -135,7 +135,7 @@ func main() {
|
|||||||
http.HandleFunc("/-/reload", updateConfiguration) // Endpoint to reload configuration.
|
http.HandleFunc("/-/reload", updateConfiguration) // Endpoint to reload configuration.
|
||||||
|
|
||||||
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||||
w.Write([]byte(`<html>
|
_, _ = w.Write([]byte(`<html>
|
||||||
<head>
|
<head>
|
||||||
<title>IPMI Exporter</title>
|
<title>IPMI Exporter</title>
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
Reference in New Issue
Block a user