turbaszek commented on a change in pull request #7802: Make airflow/providers 
pylint compatible
URL: https://github.com/apache/airflow/pull/7802#discussion_r396082499
 
 

 ##########
 File path: airflow/providers/docker/hooks/docker.py
 ##########
 @@ -84,4 +84,4 @@ def __login(self, client):
             self.log.debug('Login successful')
         except APIError as docker_error:
             self.log.error('Docker registry login failed: %s', 
str(docker_error))
-            raise AirflowException('Docker registry login failed: %s', 
str(docker_error))
+            raise AirflowException('Docker registry login failed: 
{}'.format(docker_error))
 
 Review comment:
   ```suggestion
               raise AirflowException(f'Docker registry login failed: 
{docker_error}')
   ```

----------------------------------------------------------------
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

Reply via email to