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