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);
}
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);