mirror of
https://github.com/juanfont/headscale.git
synced 2026-08-07 15:58:45 +09:00
all: scrub stale gRPC references from comments and docs
Reword comments and docs that still named the removed gRPC stack, rename the GRPCSortable test interface, and drop the dead gRPC port note from the dev README.
This commit is contained in:
+1
-2
@@ -42,8 +42,7 @@ go tool mts node1 status
|
||||
| `--port` | 8080 | Headscale listen port |
|
||||
| `--keep` | false | Keep state directory on exit |
|
||||
|
||||
The metrics/debug port is `port + 1010` (default 9090) and the gRPC
|
||||
port is `port + 42363` (default 50443).
|
||||
The metrics/debug port is `port + 1010` (default 9090).
|
||||
|
||||
## What it does
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ func localSocketClient(socketPath string) (*apiv1.Client, error) {
|
||||
// dialSocketWaiting connects to the local unix socket, retrying while it is
|
||||
// still absent. headscale removes and rebinds the socket during startup, so a
|
||||
// CLI command issued right after "systemctl start" can beat the server to it.
|
||||
// This mirrors the old blocking gRPC dial, which retried until the CLI timeout.
|
||||
// This mirrors the old blocking dial, which retried until the CLI timeout.
|
||||
func dialSocketWaiting(ctx context.Context, socketPath string) (net.Conn, error) {
|
||||
var dialer net.Dialer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user