dockerproxy: fix test

This commit is contained in:
Girish Ramakrishnan
2024-06-08 22:26:34 +02:00
parent f386c326e2
commit bba1922120
2 changed files with 4 additions and 2 deletions

View File

@@ -62,7 +62,6 @@ function attachDockerRequest(req, res, next) {
next();
}
// eslint-disable-next-line no-unused-vars
async function containersCreate(req, res, next) {
safe.set(req.body, 'HostConfig.NetworkMode', 'cloudron'); // overwrite the network the container lives in
safe.set(req.body, 'NetworkingConfig', {}); // drop any custom network configs