From 62dcfed9c2c13ce15b27046a79535d7f16d21ad4 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Sat, 23 Apr 2022 17:37:50 +0800 Subject: [PATCH] pref: uid style in log --- constant/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constant/metadata.go b/constant/metadata.go index 03b2dccd..fe1b7c50 100644 --- a/constant/metadata.go +++ b/constant/metadata.go @@ -102,7 +102,7 @@ func (m *Metadata) SourceDetail() string { } if m.Process != "" && m.Uid != 0 { - return fmt.Sprintf("%s(%s:%d)", m.SourceAddress(), m.Process, m.Uid) + return fmt.Sprintf("%s(%s, uid=%d)", m.SourceAddress(), m.Process, m.Uid) } else if m.Uid != 0 { return fmt.Sprintf("%s(%d)", m.SourceAddress(), m.Uid) } else if m.Process != "" {