Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:nekokak/qudo
Browse files Browse the repository at this point in the history
  • Loading branch information
nekokak committed Oct 5, 2010
2 parents 07d8ab9 + 365b74d commit a8ade38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Qudo/Job.pm
Expand Up @@ -37,7 +37,7 @@ sub completed {

sub is_completed { $_[0]->{_complete} }
sub is_aborted { $_[0]->{_abort} }
sub is_failed { $_[0]->{_faile} }
sub is_failed { $_[0]->{_fail} }

sub reenqueue {
my ($self, $args) = @_;
Expand All @@ -52,7 +52,7 @@ sub dequeue {
sub failed {
my ($self, $error) = @_;

$self->{_faile} = 1;
$self->{_fail} = 1;

if ($self->funcname->set_job_status) {
$self->manager->set_job_status($self, 'failed');
Expand Down

0 comments on commit a8ade38

Please sign in to comment.