From b9da42621173211a45e6545eb2e6cba87b94a835 Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Thu, 8 Oct 2020 23:53:55 -0400 Subject: [PATCH] delint and regenerate assets Signed-off-by: Yuri Shkuro --- cmd/query/app/static_handler.go | 2 +- cmd/query/app/ui/placeholder/gen_assets.go | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cmd/query/app/static_handler.go b/cmd/query/app/static_handler.go index 2da1f03b14b..de204f166d9 100644 --- a/cmd/query/app/static_handler.go +++ b/cmd/query/app/static_handler.go @@ -126,7 +126,7 @@ func loadAndEnrichIndexHTML(open func(string) (http.File, error), options Static } if options.BasePath != "/" { if !strings.HasPrefix(options.BasePath, "/") || strings.HasSuffix(options.BasePath, "/") { - return nil, fmt.Errorf("Invalid base path '%s'. Must start but not end with a slash '/', e.g. '/jaeger/ui'", options.BasePath) + return nil, fmt.Errorf("invalid base path '%s'. Must start but not end with a slash '/', e.g. '/jaeger/ui'", options.BasePath) } indexBytes = basePathPattern.ReplaceAll(indexBytes, []byte(fmt.Sprintf(`