A readable stream does not have .end()

This commit is contained in:
Johannes Zellner
2015-10-21 17:25:14 +02:00
parent 18a464b1d2
commit ee498b9e2b
+1 -2
View File
@@ -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();
});
});
}