mirror of
https://github.com/amir20/dozzle.git
synced 2026-01-02 11:07:26 +01:00
Removes date and commit
This commit is contained in:
@@ -26,8 +26,6 @@ Connection: close
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
|
||||
dev
|
||||
none
|
||||
unknown
|
||||
|
||||
/* snapshot: Test_handler_listContainers_happy */
|
||||
HTTP/1.1 200 OK
|
||||
|
||||
4
main.go
4
main.go
@@ -29,8 +29,6 @@ var (
|
||||
tailSize = 300
|
||||
filters map[string]string
|
||||
version = "dev"
|
||||
commit = "none"
|
||||
date = "unknown"
|
||||
)
|
||||
|
||||
type handler struct {
|
||||
@@ -285,6 +283,4 @@ Loop:
|
||||
|
||||
func (h *handler) version(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintln(w, version)
|
||||
fmt.Fprintln(w, commit)
|
||||
fmt.Fprintln(w, date)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user