mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-17 21:16:33 +02:00
Remove unnecessary sub-loop.
This commit is contained in:
parent
b8c9e816b3
commit
3f4693dca4
|
@ -180,9 +180,7 @@ func (b *BackendConfiguration) GetBackend(u *url.URL) *Backend {
|
||||||
func (b *BackendConfiguration) GetBackends() []*Backend {
|
func (b *BackendConfiguration) GetBackends() []*Backend {
|
||||||
var result []*Backend
|
var result []*Backend
|
||||||
for _, entries := range b.backends {
|
for _, entries := range b.backends {
|
||||||
for _, entry := range entries {
|
result = append(result, entries...)
|
||||||
result = append(result, entry)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue