mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 22:06:52 +01:00
Drop the flag that said the info API was not served on windows
It is served there now, on a pipe, so nothing set the flag any more. It was also a plain bool written by the first reconcile and by the reload callback, which was the review's point about it. - infoSupported, errInfoUnsupported, the Rebind check and the reload branch that warned once go Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
3fb29d6444
commit
aa04cc446a
4 files changed
-28
No files matched your search
@@ -43,10 +43,6 @@ func withPeerFD(conn net.Conn, f func(fd int) error) error {
|
||||
// in for root, or for a stranger, without owning a second account on the host.
|
||||
var currentUID = func() uint32 { return uint32(os.Geteuid()) }
|
||||
|
||||
// infoSupported reports that the info API can be served here: a unix socket takes the
|
||||
// mode an operator configures, which is the whole of its access control.
|
||||
const infoSupported = true
|
||||
|
||||
// listen binds the socket at path with the given access.
|
||||
//
|
||||
// Access control is the socket's own mode and group, which the node is created no
|
||||
|
||||
Reference in new issue
Block a user