Merge pull request #5786 from nextcloud/enh/noid/adjust-casing-of-eng

Container.php: adjust casing of enable_nvidia_gpu to enableNvidiaGpu
This commit is contained in:
Simon L. 2025-01-06 10:49:18 +01:00 committed by GitHub
commit d4a8048cd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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