fix(application-management): improve stop messages for application, database, and service to enhance clarity and formatting
This commit is contained in:
parent
ede912b1d3
commit
b0e33eb59d
3 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ protected function setDeploymentUuid()
|
||||||
|
|
||||||
public function stop()
|
public function stop()
|
||||||
{
|
{
|
||||||
$this->dispatch('info', 'Gracefully stopping application, it could take a while depending on the application.');
|
$this->dispatch('info', 'Gracefully stopping application.<br/>It could take a while depending on the application.');
|
||||||
StopApplication::dispatch($this->application, false, $this->docker_cleanup);
|
StopApplication::dispatch($this->application, false, $this->docker_cleanup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ public function mount()
|
||||||
public function stop()
|
public function stop()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$this->dispatch('info', 'Gracefully stopping database, it could take a while depending on the size of the database.');
|
$this->dispatch('info', 'Gracefully stopping database.<br/>It could take a while depending on the size of the database.');
|
||||||
StopDatabase::dispatch($this->database, false, $this->docker_cleanup);
|
StopDatabase::dispatch($this->database, false, $this->docker_cleanup);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$this->dispatch('error', $e->getMessage());
|
$this->dispatch('error', $e->getMessage());
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@
|
||||||
<script>
|
<script>
|
||||||
$wire.$on('stopEvent', () => {
|
$wire.$on('stopEvent', () => {
|
||||||
$wire.$dispatch('info',
|
$wire.$dispatch('info',
|
||||||
'Gracefully stopping service.<br>It could take a while depending on the service.');
|
'Gracefully stopping service.<br/>It could take a while depending on the service.');
|
||||||
$wire.$call('stop');
|
$wire.$call('stop');
|
||||||
});
|
});
|
||||||
$wire.$on('startEvent', async () => {
|
$wire.$on('startEvent', async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue