Remove useless check since we are doing a DISTINCT query
This commit is contained in:
parent
e1c927f218
commit
d4bb369642
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue