Skip to content

Commit

Permalink
Discard write errors to make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
vidister committed Aug 25, 2022
1 parent 2141db9 commit 7ef1f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func printVersion() {
func startServer() {
log.Infof("Starting transceiver-exporter (version: %s)\n", version)
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(`<html>
_, _ = w.Write([]byte(`<html>
<head><title>transceiver-exporter (Version ` + version + `)</title></head>
<body>
<h1>transceiver-exporter</h1>
Expand Down

0 comments on commit 7ef1f78

Please sign in to comment.