Skip to content

Commit 7571869

Browse files
committed
v2.9.3 fix introduced bug from last merge
1 parent 87716f5 commit 7571869

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async function list(){
118118
docker.listContainers(opts, function(err, containers) {
119119
// check for changes in status (first run is populating data only)
120120
let newConArray = [];
121-
if (containers > 0) {
121+
if (containers.length > 0) {
122122
containers.forEach(c => {
123123
// if label_enable is false then exclude any specifically false labelled containers
124124
if (LABEL_ENABLE == 'false' && JSON.stringify(c.Labels).includes('"monocker.enable":"false"')) {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "monocker",
3-
"version": "2.9.3",
3+
"version": "2.9.4",
44
"description": "Monitors and alerts for docker containers state changes",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)