Remove useless check since we are doing a DISTINCT query

This commit is contained in:
Armon Dadgar 2013-12-12 11:08:01 -08:00
parent e1c927f218
commit d4bb369642
1 changed files with 1 additions and 3 deletions

View File

@ -234,9 +234,7 @@ func (s *StateStore) Services() map[string][]string {
}
tags := services[service]
if !strContains(tags, tag) {
tags = append(tags, tag)
}
tags = append(tags, tag)
services[service] = tags
}