mirror of
https://github.com/rwinkhart/peercred-mini.git
synced 2026-08-28 04:46:43 -04:00
Strip unneeded functionality
This commit is contained in:
@@ -46,12 +46,12 @@ func TestUnixSock(t *testing.T) {
|
||||
}
|
||||
defer c.Close()
|
||||
|
||||
creds, err := Get(c)
|
||||
creds := Get(c)
|
||||
if err != nil {
|
||||
t.Fatalf("Get: %v", err)
|
||||
}
|
||||
|
||||
uid, ok := creds.UserID()
|
||||
uid := creds.UserID()
|
||||
if !ok {
|
||||
t.Errorf("no UID")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user