summaryrefslogtreecommitdiffstats
path: root/app/web_hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/web_hub.go')
-rw-r--r--app/web_hub.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/web_hub.go b/app/web_hub.go
index 0473b29f9..c8c650246 100644
--- a/app/web_hub.go
+++ b/app/web_hub.go
@@ -98,7 +98,7 @@ func (a *App) HubStart() {
splits := strings.Split(output, "goroutine ")
for _, part := range splits {
- if strings.Index(part, fmt.Sprintf("%v", hub.goroutineId)) > -1 {
+ if strings.Contains(part, fmt.Sprintf("%v", hub.goroutineId)) {
l4g.Error("Trace for possible deadlock goroutine %v", part)
}
}