Commit ca0f89d3 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(backend): fixed typo in post hibernate

parent 4c47b069
......@@ -243,7 +243,7 @@ sub _check_clean_shutdown($self) {
}
if ($self->_data('status') eq 'hibernated' && !$self->_data('post_hibernated')) {
$self->_post_hibernated();
$self->_post_hibernate();
}
}
......@@ -2415,7 +2415,7 @@ sub _post_pause {
$self->_remove_iptables();
}
sub _post_hibernate($self, $user) {
sub _post_hibernate($self, $user=undef) {
$self->_data(status => 'hibernated');
$self->_data(post_hibernated => 1);
$self->_remove_iptables();
......
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