mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-12 11:07:35 +00:00
more log.Error -> fmt.Errorf cleanup
This commit is contained in:

committed by
Juan Font

parent
1704977e76
commit
60f0cf908c
@@ -16,7 +16,6 @@ import (
|
||||
"github.com/juanfont/headscale/hscontrol/mapper"
|
||||
"github.com/juanfont/headscale/hscontrol/types"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/sasha-s/go-deadlock"
|
||||
xslices "golang.org/x/exp/slices"
|
||||
"gorm.io/gorm"
|
||||
"tailscale.com/tailcfg"
|
||||
@@ -43,7 +42,7 @@ type mapSession struct {
|
||||
mapper *mapper.Mapper
|
||||
|
||||
serving bool
|
||||
servingMu deadlock.Mutex
|
||||
servingMu sync.Mutex
|
||||
|
||||
ch chan types.StateUpdate
|
||||
cancelCh chan struct{}
|
||||
|
Reference in New Issue
Block a user