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:
parent
b47ebebf9e
commit
5fe14a7c5a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user