mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-24 01:26:39 +00:00
ipn: fix the string representation of an empty ipn.Notify
Before: `ipn.Notify}`
After: `ipn.Notify{}`
Updates #cleanup
Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
@@ -205,7 +205,11 @@ func (n Notify) String() string {
|
||||
}
|
||||
|
||||
s := sb.String()
|
||||
return s[0:len(s)-1] + "}"
|
||||
if s == "Notify{" {
|
||||
return "Notify{}"
|
||||
} else {
|
||||
return s[0:len(s)-1] + "}"
|
||||
}
|
||||
}
|
||||
|
||||
// PartialFile represents an in-progress incoming file transfer.
|
||||
|
||||
Reference in New Issue
Block a user