Commit 28bbcea5 authored by frankiejol's avatar frankiejol
Browse files

refactor(backend): really check if domain not active

parent ce1c54ad
......@@ -714,7 +714,9 @@ sub start {
$self->_set_spice_ip($set_password, $listen_ip);
my $is_active = $self->is_active();
my $is_active = 0;
eval { $is_active = $self->domain->is_active };
warn $@ if $@;
if (!$is_active) {
$self->_check_qcow_format($request);
$self->_set_volumes_backing_store();
......
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