feat: use a debug logger for agent
This commit is contained in:
parent
3dca401837
commit
608fcacdb1
9 changed files with 151 additions and 79 deletions
|
|
@ -1,11 +0,0 @@
|
|||
package hpagent
|
||||
|
||||
import (
|
||||
"tailscale.com/tailcfg"
|
||||
)
|
||||
|
||||
// Sends the status to the Headplane master
|
||||
func (s *Socket) SendStatus(status map[string]*tailcfg.HostinfoView) error {
|
||||
err := s.WriteJSON(status)
|
||||
return err
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue