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
08dcf2ff
Commit
08dcf2ff
authored
Jan 08, 2018
by
Francesc Guasch
Browse files
[#202] don't search domains in inactive VMs
parent
b0665bb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
08dcf2ff
...
...
@@ -1043,6 +1043,7 @@ sub search_domain($self, $name, $import = 0) {
return
$vm
->
search_domain
(
$name
);
}
for
my
$vm
(
@
{
$self
->
vm
})
{
next
if
!
$vm
->
is_active
;
my
$domain
=
$vm
->
search_domain
(
$name
,
$import
);
next
if
!
$domain
;
next
if
!
$domain
->
_select_domain_db
&&
!
$import
;
...
...
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