From 5fe14a7c5a26e049556c6b88c5fd3fa2080168d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 22 Jun 2017 22:58:33 +0100 Subject: [PATCH] fix(docker-compose-client): remove services attr from config() --- packages/docker-compose-client/lib/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/docker-compose-client/lib/index.js b/packages/docker-compose-client/lib/index.js index 33463243..f83f323d 100644 --- a/packages/docker-compose-client/lib/index.js +++ b/packages/docker-compose-client/lib/index.js @@ -40,13 +40,10 @@ module.exports = class DockerComposeClient extends EventEmitter { return this._invoke('scale', options, manifest, cb); } - config({ projectName, services, manifest }, cb) { + config({ projectName, manifest }, cb) { const options = { // eslint-disable-next-line camelcase - project_name: projectName, - services: services.map(service => ({ - name: service - })) + project_name: projectName }; return this._invoke('config', options, manifest, cb);