diff --git a/php/src/ContainerDefinitionFetcher.php b/php/src/ContainerDefinitionFetcher.php index 5628c83767d..8f7c6a97576 100644 --- a/php/src/ContainerDefinitionFetcher.php +++ b/php/src/ContainerDefinitionFetcher.php @@ -250,7 +250,7 @@ private function GetDefinition(): array } $enableNvidiaGpu = false; - if (is_bool($entry['enable_nvidia_gpu'])) { + if (isset($entry['enable_nvidia_gpu'])) { $enableNvidiaGpu = $entry['enable_nvidia_gpu']; }