mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
7fff8f288ea40473f85455ab4a23e1195eb17e84
- link.DialWith(target, opts...) builds a link with exactly the caller's options (no default credentials); the failback runtime uses it for injected options, so its prior semantics hold and no production file calls grpc.NewClient directly. - The guard parses every non-test file and finds grpc.NewClient / Dial / DialContext / NewServer and insecure.NewCredentials under any import name (alias or dot import); a detector test proves each form is found and a link-only file is clean; routing failback back to grpc.NewClient fails the guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%