Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Supervisor log fallback for the /follow endpoint
When an error occurs when streaming Supervisor logs, the fallback method receives the follow kwarg as well, which is invalid for the Docker log handler: TypeError: APISupervisor.logs() got an unexpected keyword argument 'follow' The exception is still printed to the logs but with all the extra noise caused by this error. Removing the argument makes the stack trace more comprehensible and the fallback actually works as desired.
- Loading branch information