diff --git a/prog/static.go b/prog/static.go index eefdf6cba0..bcd8625731 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)