fix(xo-server/proxies): remove duplicated license unbind (#4977)
On destroying a proxy, the license will be unbound twice: on the proxy destruction and on the proxy unregistration. These unbinds will lead to an error which will be displayed in the console and will have no side effects on the process. This error will not be visible by users.
This commit is contained in:
parent
b8eeee1d5d
commit
a05191e112
@ -110,13 +110,6 @@ export default class Proxy {
|
||||
throw error
|
||||
}
|
||||
}
|
||||
|
||||
this._app
|
||||
.unbindLicense({
|
||||
boundObjectId: vmUuid,
|
||||
productId: this._xoProxyConf.licenseProductId,
|
||||
})
|
||||
.catch(log.warn)
|
||||
}
|
||||
return this.unregisterProxy(id)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user