diff options
author | Jakob Borg <jakob@nym.se> | 2014-06-21 09:43:12 +0200 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2014-06-21 12:35:53 +0200 |
commit | 4ab48165563861a9d82a4f7d717e0ec198958294 (patch) | |
tree | 965a7c6ba59aedafbe218e7f9bec6c309ad398ab /cmd | |
parent | 8e8a579bb20e22e09f720e78a278c7058465d54e (diff) |
Detect deadlock in model and panic
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/syncthing/usage_report.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/syncthing/usage_report.go b/cmd/syncthing/usage_report.go index 430f9b8b33..cee7196aab 100644 --- a/cmd/syncthing/usage_report.go +++ b/cmd/syncthing/usage_report.go @@ -25,6 +25,7 @@ func reportData(m *model.Model) map[string]interface{} { res := make(map[string]interface{}) res["uniqueID"] = strings.ToLower(certID([]byte(myID)))[:6] res["version"] = Version + res["longVersion"] = LongVersion res["platform"] = runtime.GOOS + "-" + runtime.GOARCH res["numRepos"] = len(cfg.Repositories) res["numNodes"] = len(cfg.Nodes) |