From c56175e6250e1f09fdb0a09650092ababd30fc67 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Wed, 25 Mar 2020 18:15:52 -0700 Subject: [PATCH] Removes date and commit --- __snapshots__/dozzle.snapshot | 2 -- main.go | 4 ---- 2 files changed, 6 deletions(-) diff --git a/__snapshots__/dozzle.snapshot b/__snapshots__/dozzle.snapshot index 41c0e227..4f67c9a8 100644 --- a/__snapshots__/dozzle.snapshot +++ b/__snapshots__/dozzle.snapshot @@ -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 diff --git a/main.go b/main.go index bc3de4f9..17b2ab52 100644 --- a/main.go +++ b/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) }