1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

Fixes version

This commit is contained in:
Amir Raminfar
2018-12-03 13:09:02 -08:00
parent 1f510cdd4e
commit 9d59278035

View File

@@ -9,7 +9,6 @@ import (
log "github.com/sirupsen/logrus"
flag "github.com/spf13/pflag"
"html/template"
"io"
"net/http"
"strings"
)
@@ -196,7 +195,7 @@ Loop:
}
func (h *handler) version(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, version)
io.WriteString(w, commit)
io.WriteString(w, date)
fmt.Fprintln(w, version)
fmt.Fprintln(w, commit)
fmt.Fprintln(w, date)
}