From e64ffe098dbe1eb2ba25a37a58dc7186a4e89fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 17 Dec 2018 17:18:05 +0100 Subject: [PATCH] Compatibility with older MongoDB --- flamenco/dashboard.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/flamenco/dashboard.go b/flamenco/dashboard.go index 197b5785..3790aa17 100644 --- a/flamenco/dashboard.go +++ b/flamenco/dashboard.go @@ -168,9 +168,6 @@ func (dash *Dashboard) sendStatusReport(w http.ResponseWriter, r *http.Request) {Name: "nickname", Value: 1}, {Name: "status", Value: 1}, }}, - M{"$project": M{ - "blacklist.worker_id": 0, - }}, }) if err := pipe.All(&workers); err != nil {