Remove redundant methods

This commit is contained in:
2025-04-05 15:17:24 -04:00
parent dcf2844318
commit d116525c2b
8 changed files with 16 additions and 29 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ func get(c *net.UnixConn) (*Creds, error) {
return nil, err
}
return &Creds{
pid: pid,
uid: strconv.FormatUint(uint64(cred.Uid), 10),
PID: pid,
UID: strconv.FormatUint(uint64(cred.Uid), 10),
}, nil
}