mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
style: uid log tidy
This commit is contained in:
parent
80ff5917f7
commit
d617b0f447
|
@ -104,7 +104,7 @@ func (m *Metadata) SourceDetail() string {
|
||||||
if m.Process != "" && m.Uid != nil {
|
if m.Process != "" && m.Uid != nil {
|
||||||
return fmt.Sprintf("%s(%s, uid=%d)", m.SourceAddress(), m.Process, *m.Uid)
|
return fmt.Sprintf("%s(%s, uid=%d)", m.SourceAddress(), m.Process, *m.Uid)
|
||||||
} else if m.Uid != nil {
|
} else if m.Uid != nil {
|
||||||
return fmt.Sprintf("%s(%d)", m.SourceAddress(), *m.Uid)
|
return fmt.Sprintf("%s(uid=%d)", m.SourceAddress(), *m.Uid)
|
||||||
} else if m.Process != "" {
|
} else if m.Process != "" {
|
||||||
return fmt.Sprintf("%s(%s)", m.SourceAddress(), m.Process)
|
return fmt.Sprintf("%s(%s)", m.SourceAddress(), m.Process)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user