You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In certain circumstances, we can see the following error:
PHP Fatal error: Uncaught TypeError: Docker\API\Model\HealthcheckResult::setStart(): Argument #1 ($start) must be of type ?DateTimeInterface, bool given, called in /usr/local/cylo-serverapi/vendor/beluga-php/docker-php-api/src/Normalizer/HealthcheckResultNormalizer.php on line 47 and defined in /usr/local/cylo-serverapi/vendor/beluga-php/docker-php-api/src/Model/HealthcheckResult.php:63
I think that once we get to reproduce it, we may follow through in moby's repository to check with them if the behavior is expected or not and act from there.
In certain circumstances, we can see the following error:
PHP Fatal error: Uncaught TypeError: Docker\API\Model\HealthcheckResult::setStart(): Argument #1 ($start) must be of type ?DateTimeInterface, bool given, called in /usr/local/cylo-serverapi/vendor/beluga-php/docker-php-api/src/Normalizer/HealthcheckResultNormalizer.php on line 47 and defined in /usr/local/cylo-serverapi/vendor/beluga-php/docker-php-api/src/Model/HealthcheckResult.php:63
I'm not 100% certain what the circumstances are to reproduce the error yet, it may be a fresh container which has not run a healthcheck yet, in which case returning a boolean is not documented in the docker swagger: https://github.com/moby/moby/blob/217054ddea5517d391b69c4826b3a4cfa393b1e6/api/swagger.yaml#L852
If it is intended behaviour the swagger file will need to be updated.
The text was updated successfully, but these errors were encountered: