Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
26dc10b7
Commit
26dc10b7
authored
Oct 07, 2016
by
Francesc Guasch
Browse files
removed old listings now in front
parent
c55302e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
26dc10b7
...
...
@@ -167,7 +167,7 @@ sub _create_vm {
}
sub
check_vms
{
sub
_
check_vms
{
my
$self
=
shift
;
my
@vm
;
...
...
@@ -431,7 +431,9 @@ sub list_images_data {
}
sub
list_images_lxc
{
=pod
sub _list_images_lxc {
my $self = shift;
my @domains;
my $sth = $CONNECTOR->dbh->prepare(
...
...
@@ -445,13 +447,7 @@ sub list_images_lxc {
return @domains;
}
=head2 list_images_data
List information about the images
=cut
sub
list_images_data_lxc
{
sub _list_images_data_lxc {
my $self = shift;
my @data;
for ($self->list_images_lxc ) {
...
...
@@ -460,7 +456,7 @@ sub list_images_data_lxc {
return \@data;
}
=cut
=head2 remove_volume
...
...
@@ -505,7 +501,7 @@ sub process_requests {
$dont_fork
=
1
if
!
$CAN_FORK
;
$self
->
_wait_pids_nohang
();
$self
->
check_vms
();
$self
->
_
check_vms
();
my
$sth
=
$CONNECTOR
->
dbh
->
prepare
("
SELECT id FROM requests
"
.
"
WHERE status='requested' OR status like 'retry %'
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment