mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
This commit is contained in:
parent
089c283ca6
commit
6325ae070c
@ -105,7 +105,7 @@ func (s *verboseService) formatEvent(ev events.Event) string {
|
|||||||
return fmt.Sprintf("Device %v sent an index update for %q with %d items", data["device"], data["folder"], data["items"])
|
return fmt.Sprintf("Device %v sent an index update for %q with %d items", data["device"], data["folder"], data["items"])
|
||||||
|
|
||||||
case events.DeviceRejected:
|
case events.DeviceRejected:
|
||||||
data := ev.Data.(map[string]interface{})
|
data := ev.Data.(map[string]string)
|
||||||
return fmt.Sprintf("Rejected connection from device %v at %v", data["device"], data["address"])
|
return fmt.Sprintf("Rejected connection from device %v at %v", data["device"], data["address"])
|
||||||
|
|
||||||
case events.FolderRejected:
|
case events.FolderRejected:
|
||||||
|
Loading…
Reference in New Issue
Block a user