Fix interface merging, error ordering, sACN client, and add charset headers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-28 22:57:13 -08:00
parent aebd6f5e2c
commit ed9a0cd60d
4 changed files with 51 additions and 12 deletions

View File

@@ -2,6 +2,7 @@ package tendrils
import (
"fmt"
"sort"
"sync"
"time"
)
@@ -245,6 +246,12 @@ func (e *ErrorTracker) GetErrors() []*Error {
for _, err := range e.errors {
errors = append(errors, err)
}
sort.Slice(errors, func(i, j int) bool {
if errors[i].NodeName != errors[j].NodeName {
return errors[i].NodeName < errors[j].NodeName
}
return errors[i].Port < errors[j].Port
})
return errors
}