Refactor ApplicationDeploymentJob.php to remove unnecessary code and improve code structure
This commit is contained in:
parent
71d120bc4e
commit
072850be0b
@ -620,7 +620,6 @@ private function push_to_docker_registry()
|
||||
],
|
||||
);
|
||||
}
|
||||
$this->application_deployment_queue->addLogEntry("Image pushed to docker registry.");
|
||||
} catch (Exception $e) {
|
||||
$this->application_deployment_queue->addLogEntry("Failed to push image to docker registry. Please check debug logs for more information.");
|
||||
if ($forceFail) {
|
||||
|
@ -720,7 +720,6 @@ private function push_to_docker_registry()
|
||||
],
|
||||
);
|
||||
}
|
||||
$this->application_deployment_queue->addLogEntry("Image pushed to docker registry.");
|
||||
} catch (Exception $e) {
|
||||
$this->application_deployment_queue->addLogEntry("Failed to push image to docker registry. Please check debug logs for more information.");
|
||||
if ($forceFail) {
|
||||
|
Loading…
Reference in New Issue
Block a user