mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
chore(deps): upgrade to Go v1.22 and deps (#1423)
* chore(deps): upgrade go to v1.22 and deps * chore(deps): upgrade workflow go to v1.22
This commit is contained in:
parent
3c40c7bba8
commit
8156c8d66e
8 changed files with 99 additions and 88 deletions
|
@ -6,6 +6,7 @@ package irc
|
|||
import (
|
||||
"crypto/tls"
|
||||
"fmt"
|
||||
"slices"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
|
@ -23,7 +24,6 @@ import (
|
|||
"github.com/r3labs/sse/v2"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/sasha-s/go-deadlock"
|
||||
"golang.org/x/exp/slices"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -1051,6 +1051,5 @@ func (h *Handler) ReportStatus(netw *domain.IrcNetworkWithHealth) {
|
|||
|
||||
netw.Healthy = channelsHealthy
|
||||
|
||||
// TODO with Go 1.21 this can moved from golang.org/x/exp/slices to built in slices:
|
||||
netw.ConnectionErrors = slices.Clone(h.connectionErrors)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue