1
0
Эх сурвалжийг харах

Merge pull request #1957 from calmh/myid

Include myID in the StartupComplete event
Audrius Butkevicius 10 жил өмнө
parent
commit
198725216f
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      cmd/syncthing/main.go

+ 3 - 1
cmd/syncthing/main.go

@@ -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()