mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-15 20:25:12 +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 {
|
||||
var result []*Backend
|
||||
for _, entries := range b.backends {
|
||||
for _, entry := range entries {
|
||||
result = append(result, entry)
|
||||
}
|
||||
result = append(result, entries...)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue