Merge pull request #1957 from calmh/myid

Include myID in the StartupComplete event
This commit is contained in:
Audrius Butkevicius 2015-06-16 08:46:50 +01:00
commit 198725216f
1 changed files with 3 additions and 1 deletions

View File

@ -707,7 +707,9 @@ func syncthingMain() {
}
}
events.Default.Log(events.StartupComplete, nil)
events.Default.Log(events.StartupComplete, map[string]string{
"myID": myID.String(),
})
go generatePingEvents()
cleanConfigDirectory()