Rename to getDarwin

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
Denton Gentry
2021-03-02 06:23:40 -08:00
committed by Denton Gentry
parent 993aa01eac
commit 88448a8ba5
+2 -2
View File
@@ -13,10 +13,10 @@ import (
)
func init() {
osGet = getLinux
osGet = getDarwin
}
func getLinux(c net.Conn) (*Creds, error) {
func getDarwin(c net.Conn) (*Creds, error) {
switch c := c.(type) {
case *net.UnixConn:
return getUnix(c)