Commit 225ec9df authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(backend): refresh storage before fetching isos

parent 1d753fd4
......@@ -3330,6 +3330,7 @@ sub _cmd_list_isos($self, $request){
my $vm_type = $request->args('vm_type');
my $vm = Ravada::VM->open( type => $vm_type );
my @isos = sort { "\L$a" cmp "\L$b" } $vm->search_volume_path_re(qr(.*\.iso$));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment