rename ok to is_ok and change slot names to avoid conflict with creators

This commit is contained in:
Oliver Gorwits
2017-09-05 19:28:38 +01:00
parent 3ee85383ab
commit fc9c60f707
2 changed files with 14 additions and 13 deletions

View File

@@ -53,7 +53,7 @@ sub _run_first {
};
$retval ||= Status->done('no status supplied');
return $retval if $retval->ok;
return $retval if $retval->is_ok;
}
return Status->error('no worker was successful');