1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00

fix(docker-compose-client): remove services attr from config()

This commit is contained in:
Sérgio Ramos 2017-06-22 22:58:33 +01:00 committed by Judit Greskovits
parent b47ebebf9e
commit 5fe14a7c5a

View File

@ -40,13 +40,10 @@ module.exports = class DockerComposeClient extends EventEmitter {
return this._invoke('scale', options, manifest, cb); return this._invoke('scale', options, manifest, cb);
} }
config({ projectName, services, manifest }, cb) { config({ projectName, manifest }, cb) {
const options = { const options = {
// eslint-disable-next-line camelcase // eslint-disable-next-line camelcase
project_name: projectName, project_name: projectName
services: services.map(service => ({
name: service
}))
}; };
return this._invoke('config', options, manifest, cb); return this._invoke('config', options, manifest, cb);