Commit 0c7c8372 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(frontend): do not cache list isos

parent 78da0434
...@@ -585,7 +585,7 @@ sub _new_request { ...@@ -585,7 +585,7 @@ sub _new_request {
$args{args} = encode_json($args{args}); $args{args} = encode_json($args{args});
} }
_init_connector() if !$CONNECTOR || !$$CONNECTOR; _init_connector() if !$CONNECTOR || !$$CONNECTOR;
if ($args{command} =~ /^(clone|manage_pools|list_isos)$/ if ($args{command} =~ /^(clone|manage_pools)$/
|| $CMD_NO_DUPLICATE{$args{command}} || $CMD_NO_DUPLICATE{$args{command}}
|| ($no_duplicate && $args{command} =~ /^(screenshot)$/)) { || ($no_duplicate && $args{command} =~ /^(screenshot)$/)) {
if ( _duplicated_request(undef, $args{command}, $args{args}) if ( _duplicated_request(undef, $args{command}, $args{args})
......
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