fix: handle custom_internal_name check in ApplicationDeploymentJob.php

This commit is contained in:
Andras Bacsai 2024-07-18 12:10:59 +02:00
parent b4b6a4294a
commit 1c4eb31d59

View File

@ -1007,7 +1007,7 @@ private function rolling_update()
if ((bool) $this->application->settings->is_consistent_container_name_enabled) {
$this->application_deployment_queue->addLogEntry('Consistent container name feature enabled, rolling update is not supported.');
}
if (isset($this->application->settings->custom_internal_name)) {
if (str($this->application->settings->custom_internal_name)->isNotEmpty()) {
$this->application_deployment_queue->addLogEntry('Custom internal name is set, rolling update is not supported.');
}
if ($this->pull_request_id !== 0) {