mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
style(portal-api): fix lint
This commit is contained in:
parent
7104e6e1a9
commit
101f4fb423
@ -14,7 +14,7 @@ const internals = {};
|
|||||||
module.exports = function (server, options, next) {
|
module.exports = function (server, options, next) {
|
||||||
const docker = Piloted.service('docker-compose-api');
|
const docker = Piloted.service('docker-compose-api');
|
||||||
if (docker) {
|
if (docker) {
|
||||||
options.data.dockerComposeHost = `tcp://${docker.address}:${docker.port}`
|
options.data.dockerComposeHost = `tcp://${docker.address}:${docker.port}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = new PortalData(options.data);
|
const data = new PortalData(options.data);
|
||||||
@ -58,4 +58,4 @@ internals.refresh = function (data) {
|
|||||||
|
|
||||||
data._dockerCompose.client.connect(`tcp://${docker.address}:${docker.port}`);
|
data._dockerCompose.client.connect(`tcp://${docker.address}:${docker.port}`);
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user