Skip to content

Commit

Permalink
Merge pull request #2892 from weaveworks/lint
Browse files Browse the repository at this point in the history
Fix golint if/else
  • Loading branch information
lelenanam authored Oct 17, 2017
2 parents cf23c06 + c5d38f5 commit 2e1aee0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prog/static.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
func GetFS(useExternal bool) http.FileSystem {
if useExternal {
return externalui.FS(false)
} else {
return staticui.FS(false)
}
return staticui.FS(false)
}

0 comments on commit 2e1aee0

Please sign in to comment.