mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
fix(docker-compose-client): remove services attr from config()
This commit is contained in:
parent
b47ebebf9e
commit
5fe14a7c5a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user