Lint: simplify code

This commit is contained in:
gVisor bot 2018-07-16 00:47:03 +08:00
parent a3698e5345
commit 29be6f94ba

View File

@ -30,7 +30,7 @@ func (s *Selector) Now() string {
func (s *Selector) All() []string {
var all []string
for k, _ := range s.proxys {
for k := range s.proxys {
all = append(all, k)
}
return all