Fix linter errors in ignored file

This commit is contained in:
Alfonso Acosta
2016-12-22 10:06:56 +00:00
parent bf2432ddb1
commit ab28a0bfac

View File

@@ -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)