mirror of https://github.com/status-im/consul.git
NET-6900: stop reconciling services when peering is enabled (#19907)
stop reconciling services when peering is enabled
This commit is contained in:
parent
f2b26ac194
commit
e8164c7c04
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
ui: stop manually reconciling services if peering is enabled
|
||||||
|
```
|
|
@ -113,6 +113,17 @@ export default class RepositoryService extends Service {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We were seeing issues where services were all being unloaded after visiting
|
||||||
|
// a peers imported services page. So if you viewes services -> peered imported services -> services
|
||||||
|
// only the peered services would remain as the others were all unloaded. Not certain if
|
||||||
|
// we should be doing any manual reconciling as it is. Not enough historical context
|
||||||
|
// to determine that at this time.
|
||||||
|
//
|
||||||
|
// https://hashicorp.atlassian.net/browse/NET-6900
|
||||||
|
if (this.env.var('CONSUL_PEERINGS_ENABLED') && this.getModelName() === 'service') {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue