diff --git a/@xen-orchestra/fs/src/local.js b/@xen-orchestra/fs/src/local.js index 8d8e05493..80fb487a5 100644 --- a/@xen-orchestra/fs/src/local.js +++ b/@xen-orchestra/fs/src/local.js @@ -5,7 +5,7 @@ import { fromEvent, retry } from 'promise-toolbox' import RemoteHandlerAbstract from './abstract' export default class LocalHandler extends RemoteHandlerAbstract { - constructor(remote, opts) { + constructor(remote, opts = {}) { super(remote) this._retriesOnEagain = { delay: 1e3,