Compare commits

..

3 Commits

1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class VitastorBackend
this.on_open = []; this.on_open = [];
if (this.config.metadata_image) if (this.config.metadata_image)
{ {
const img = new vitastor.Image(this.config.metadata_image); const img = new vitastor.Image(this.cli, this.config.metadata_image);
const info = await new Promise(ok => img.get_info(ok)); const info = await new Promise(ok => img.get_info(ok));
this.config.metadata_inode = info.num; this.config.metadata_inode = info.num;
} }