You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/13 23:49:21 UTC

[GitHub] [airflow] brokenjacobs edited a comment on issue #7628: [AIRFLOW-4363] Fix JSON encoding error

brokenjacobs edited a comment on issue #7628: [AIRFLOW-4363] Fix JSON encoding error
URL: https://github.com/apache/airflow/pull/7628#issuecomment-613148448
 
 
   This breaks the pull functionality because the very next function in the loop tries to do a string decode on this dictionary.
   Leading to:
   ```  File "airflow/operators/docker_operator.py", line 269, in execute
       output = json.loads(l.decode('utf-8').strip())
   AttributeError: 'dict' object has no attribute 'decode'```
   
   Basically this entire PR breaks image pulls as written. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services