diff --git a/web/__snapshots__/web.snapshot b/web/__snapshots__/web.snapshot index 85f57957..7c28f5f3 100644 --- a/web/__snapshots__/web.snapshot +++ b/web/__snapshots__/web.snapshot @@ -29,7 +29,7 @@ Connection: close Content-Security-Policy: default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self'; manifest-src 'self'; font-src fonts.gstatic.com; connect-src 'self' api.github.com; require-trusted-types-for 'script' Content-Type: text/plain; charset=utf-8 -dev compiled with go1.15.6 +dev /* snapshot: Test_handler_streamEvents_error */ HTTP/1.1 200 OK diff --git a/web/routes.go b/web/routes.go index c397c400..1e7cfaf1 100644 --- a/web/routes.go +++ b/web/routes.go @@ -306,7 +306,7 @@ func (h *handler) streamEvents(w http.ResponseWriter, r *http.Request) { } func (h *handler) version(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, "%v compiled with %v", h.config.Version, runtime.Version()) + fmt.Fprintf(w, "%v", h.config.Version) } func sendContainersJSON(client docker.Client, w http.ResponseWriter) error {