Skip to content

Commit

Permalink
CTA: fix dockerode filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Razon committed Mar 25, 2024
1 parent e5f62a4 commit 3784260
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/dockerode": "^3.3.14",
"@types/dockerode": "^3.3.26",
"@types/lodash-es": "^4.17.12",
"@types/node": "18",
"@types/shell-escape": "^0.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/compose-tunnel-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/dockerode": "^3.3.14",
"@types/dockerode": "^3.3.26",
"@types/http-proxy": "^1.17.9",
"@types/lodash-es": "^4.17.12",
"@types/node": "18",
Expand Down
2 changes: 1 addition & 1 deletion packages/compose-tunnel-agent/src/docker/filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const filters = ({

const listContainers = async () => await docker.listContainers({
all: true,
filters: { ...apiFilter },
filters: JSON.stringify({ ...apiFilter }),
})

const adhocFilter = (c: Pick<Docker.ContainerInfo, 'Labels'>): boolean => (
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3986,10 +3986,10 @@
"@types/node" "*"
"@types/ssh2" "*"

"@types/dockerode@^3.3.14":
version "3.3.23"
resolved "https://registry.yarnpkg.com/@types/dockerode/-/dockerode-3.3.23.tgz#07b2084013d01e14d5d97856446f4d9c9f27c223"
integrity sha512-Lz5J+NFgZS4cEVhquwjIGH4oQwlVn2h7LXD3boitujBnzOE5o7s9H8hchEjoDK2SlRsJTogdKnQeiJgPPKLIEw==
"@types/dockerode@^3.3.26":
version "3.3.26"
resolved "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.3.26.tgz#e7f5f06e985ee045c9b9643fd9c34684deb80cd1"
integrity sha512-/K+I9bGhRO2SvyIHisGeOsy/ypxnWLz8+Rde9S2tNNEKa3r91e0XMYIEq2D+kb7srm7xrmpAR0CDKfXoZOr4OA==
dependencies:
"@types/docker-modem" "*"
"@types/node" "*"
Expand Down

0 comments on commit 3784260

Please sign in to comment.