From ab28a0bfac85d79efaaf69cb7a4b33d6fee8181d Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Thu, 22 Dec 2016 10:06:56 +0000 Subject: [PATCH] Fix linter errors in ignored file --- prog/static.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prog/static.go b/prog/static.go index eefdf6cba..bcd862573 100644 --- a/prog/static.go +++ b/prog/static.go @@ -7,8 +7,9 @@ import ( "github.com/weaveworks/scope/prog/staticui" ) -func GetFS(use_external bool) http.FileSystem { - if use_external { +// GetFS obtains the UI code +func GetFS(useExternal bool) http.FileSystem { + if useExternal { return externalui.FS(false) } else { return staticui.FS(false)