From 82c3e6f87fbbaeb0367dfe2458b000c0663dacab Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 16 Jun 2015 09:27:06 +0200 Subject: [PATCH] Include myID in the StartupComplete event Nice to have... --- cmd/syncthing/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 2e7910b1b..92d930845 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -704,7 +704,9 @@ func syncthingMain() { } } - events.Default.Log(events.StartupComplete, nil) + events.Default.Log(events.StartupComplete, map[string]string{ + "myID": myID.String(), + }) go generatePingEvents() cleanConfigDirectory()