mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-29 15:23:45 +00:00
Temp for debugging
Signed-off-by: Mario Minardi <mario@tailscale.com>
This commit is contained in:
parent
fc5050048e
commit
9f25b7dcca
@ -620,6 +620,9 @@ func (c *conn) evaluatePolicy() (_ *tailcfg.SSHAction, localUser string, acceptE
|
|||||||
if !ok {
|
if !ok {
|
||||||
return nil, "", nil, noPolicy
|
return nil, "", nil, noPolicy
|
||||||
}
|
}
|
||||||
|
polJSON, _ := json.Marshal(pol)
|
||||||
|
fmt.Println("evaluatePolicy: ", string(polJSON))
|
||||||
|
|
||||||
return c.evalSSHPolicy(pol)
|
return c.evalSSHPolicy(pol)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user