Skip to content

Commit

Permalink
Fixes #30. End task when finished with errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
piffall committed Mar 24, 2023
1 parent a124a30 commit 42d9416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow_pentaho/operators/carte.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def execute(self, context): # pylint: disable=unused-argument
self.log.info(self.LOG_TEMPLATE, status_desc, self.trans)
self._log_logging_string(status['logging_string'])

if status_desc not in self.FINISHED_STATUSES:
if status_desc not in self.END_STATUSES:
self.log.info('Sleeping 5 seconds before ask again')
time.sleep(5)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name='airflow-pentaho-plugin',
version='1.0.19',
version='1.0.20',
license='Apache 2.0',
author='Damavis',
author_email='[email protected]',
Expand Down

0 comments on commit 42d9416

Please sign in to comment.