mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-22 22:36:51 +09:00
hscontrol: fix formatting after combining SSH policy changes
Updates #3517
This commit is contained in:
1 parent
8c66b76353
commit
4fd4da75f2
2 files changed
+2
-1
No files matched your search
@@ -394,6 +394,7 @@ func (mc *multiChannelNodeConn) send(data *tailcfg.MapResponse) error {
|
|||||||
if data.Node != nil {
|
if data.Node != nil {
|
||||||
conn.lastSelf.Store(data.Node)
|
conn.lastSelf.Store(data.Node)
|
||||||
}
|
}
|
||||||
|
|
||||||
if data.SSHPolicy != nil {
|
if data.SSHPolicy != nil {
|
||||||
conn.lastSSHPolicy.Store(data.SSHPolicy)
|
conn.lastSSHPolicy.Store(data.SSHPolicy)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
"slices"
|
"slices"
|
||||||
"strconv"
|
"strconv"
|
||||||
"sync"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
"sync"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user