mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
feat(portal-watch): don't filter by hash
This commit is contained in:
parent
bb99662976
commit
8717d19136
@ -129,7 +129,9 @@ module.exports = class Watcher {
|
||||
return setTimeout(() => {
|
||||
return updateService({
|
||||
id: service.id,
|
||||
instances: instances.filter(({ id }) => { return id !== instance.id; })
|
||||
instances: instances.filter(({ id }) => {
|
||||
return id !== instance.id;
|
||||
})
|
||||
});
|
||||
}, this._frequency * 4);
|
||||
}));
|
||||
@ -192,7 +194,7 @@ module.exports = class Watcher {
|
||||
|
||||
// assert that service exists
|
||||
const assertService = (deploymentGroupId) => {
|
||||
this.getService({ serviceName, serviceHash: tags[HASH], deploymentGroupId }, handleError((service) => {
|
||||
this.getService({ serviceName, deploymentGroupId }, handleError((service) => {
|
||||
if (!service) {
|
||||
console.error(`Service "${serviceName}" form DeploymentGroup "${deploymentGroupName}" for machine ${id} not found`);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user