Skip to content

Commit

Permalink
Fixes version
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Dec 3, 2018
1 parent 1f510cd commit 9d59278
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
log "github.com/sirupsen/logrus"
flag "github.com/spf13/pflag"
"html/template"
"io"
"net/http"
"strings"
)
Expand Down Expand Up @@ -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)
}

0 comments on commit 9d59278

Please sign in to comment.