-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ContainerLogs endpoint always returns NULL #19
Comments
Great findings @rodrigoaguilera ! I'll take a look at it. |
This should work using the following:
|
Since the FETCH_RESPONSE is deprecated now in jane the proper way would be:
See #65 This skips the custom endpoint I'm reopening because of this issue. The custom AND the jane-generated endpoints seem to be useless to get the logs. |
When I run
I can see the output in the logs with
but running
never returns anything.
I did a bit of debugging of the ContainerLogs.php class and it seems it expects the body to be JSON but the is received as a string
https://github.com/beluga-php/docker-php-api/blob/main/src/Endpoint/ContainerLogs.php#L83
The text was updated successfully, but these errors were encountered: