mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
fix(portal-data): don't integrate cp-client (for now)
This commit is contained in:
parent
19635e7a0a
commit
f94a0869a6
@ -6,7 +6,7 @@ const EventEmitter = require('events');
|
|||||||
const Util = require('util');
|
const Util = require('util');
|
||||||
|
|
||||||
// 3rd party modules
|
// 3rd party modules
|
||||||
const CPClient = require('cp-client');
|
// const CPClient = require('cp-client');
|
||||||
const DockerClient = require('docker-compose-client');
|
const DockerClient = require('docker-compose-client');
|
||||||
const Dockerode = require('dockerode');
|
const Dockerode = require('dockerode');
|
||||||
const Hoek = require('hoek');
|
const Hoek = require('hoek');
|
||||||
@ -71,9 +71,9 @@ module.exports = class Data extends EventEmitter {
|
|||||||
this._docker = new Dockerode(settings.docker);
|
this._docker = new Dockerode(settings.docker);
|
||||||
this._watcher = null;
|
this._watcher = null;
|
||||||
|
|
||||||
if (settings.consul && settings.consul.address) {
|
// if (settings.consul && settings.consul.address) {
|
||||||
CPClient.config(settings.consul);
|
// CPClient.config(settings.consul);
|
||||||
}
|
// }
|
||||||
|
|
||||||
this._dockerCompose.on('error', (err) => {
|
this._dockerCompose.on('error', (err) => {
|
||||||
this.emit('error', err);
|
this.emit('error', err);
|
||||||
|
Loading…
Reference in New Issue
Block a user