From ee498b9e2ba584681146e3fc3d155de45be4c666 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 21 Oct 2015 17:25:14 +0200 Subject: [PATCH] A readable stream does not have .end() --- src/apphealthmonitor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apphealthmonitor.js b/src/apphealthmonitor.js index e5dfdf80f..16b7582a2 100644 --- a/src/apphealthmonitor.js +++ b/src/apphealthmonitor.js @@ -159,9 +159,8 @@ function processDockerEvents() { }); stream.on('end', function () { - console.error('Docke event stream ended'); + console.error('Docker event stream ended'); gDockerEventStream = null; // TODO: reconnect? - stream.end(); }); }); }