turbaszek commented on a change in pull request #7802: Make airflow/providers
pylint compatible
URL: https://github.com/apache/airflow/pull/7802#discussion_r396081526
##########
File path: airflow/providers/apache/druid/hooks/druid.py
##########
@@ -121,7 +127,7 @@ def submit_indexing_job(self, json_index_spec: str):
raise AirflowException('Druid indexing job failed, '
'check console for more info')
else:
- raise AirflowException('Could not get status of the job, got
%s', status)
+ raise AirflowException('Could not get status of the job, got
{}'.format(status))
Review comment:
```suggestion
raise AirflowException(f'Could not get status of the job,
got {status}'))
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services