From bec3d9d82f0a38be257e7047fcc7e317e34ff839 Mon Sep 17 00:00:00 2001 From: Artem Torubarov Date: Tue, 30 Apr 2024 15:19:08 +0200 Subject: [PATCH] remove unused var --- service/standalone/ui_server.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/service/standalone/ui_server.go b/service/standalone/ui_server.go index c885e5f..7c3a687 100644 --- a/service/standalone/ui_server.go +++ b/service/standalone/ui_server.go @@ -19,7 +19,6 @@ package standalone import ( "context" "embed" - "errors" "fmt" "io/fs" "net/http" @@ -32,8 +31,6 @@ import ( //go:embed all:static var staticAssets embed.FS -var errDisabled = errors.New("disabled") - func serveUI(ctx context.Context, port int) (func() error, error) { f, err := staticAssets.Open("static/index.html") if err != nil {