fix(xo-server#getAllRemotesInfo): ignore disabled remotes
This commit is contained in:
parent
1ad067309d
commit
eb2f429964
@ -113,6 +113,10 @@ export default class {
|
||||
async getAllRemotesInfo() {
|
||||
const remotesInfo = this._remotesInfo
|
||||
await asyncMap(this._remotes.get(), async remote => {
|
||||
if (!remote.enabled) {
|
||||
return
|
||||
}
|
||||
|
||||
const promise =
|
||||
remote.proxy !== undefined
|
||||
? this._xo.callProxyMethod(remote.proxy, 'remote.getInfo', {
|
||||
|
Loading…
Reference in New Issue
Block a user