Container.php: adjust casing of enable_nvidia_gpu to enableNvidiaGpu

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-12-20 18:51:43 +01:00
parent 109b9dc019
commit f3e47e62f3

View file

@ -23,7 +23,7 @@ readonly class Container {
private array $secrets, private array $secrets,
/** @var string[] */ /** @var string[] */
private array $devices, private array $devices,
private bool $enable_nvidia_gpu, private bool $enableNvidiaGpu,
/** @var string[] */ /** @var string[] */
private array $capAdd, private array $capAdd,
private int $shmSize, private int $shmSize,
@ -94,7 +94,7 @@ readonly class Container {
} }
public function isNvidiaGpuEnabled() : bool { public function isNvidiaGpuEnabled() : bool {
return $this->enable_nvidia_gpu; return $this->enableNvidiaGpu;
} }
public function GetCapAdds() : array { public function GetCapAdds() : array {