fix: stop/start UI on apps and dbs
This commit is contained in:
parent
e2ab569244
commit
deece51e83
@ -68,10 +68,11 @@ public function stop()
|
||||
["docker rm -f {$containerName}"],
|
||||
$this->application->destination->server
|
||||
);
|
||||
$this->application->status = 'stopped';
|
||||
$this->application->status = 'exited';
|
||||
$this->application->save();
|
||||
// $this->application->environment->project->team->notify(new StatusChanged($this->application));
|
||||
}
|
||||
}
|
||||
$this->application->refresh();
|
||||
}
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ public function stop()
|
||||
stopPostgresProxy($this->database);
|
||||
$this->database->is_public = false;
|
||||
}
|
||||
$this->database->status = 'stopped';
|
||||
$this->database->status = 'exited';
|
||||
$this->database->save();
|
||||
$this->check_status();
|
||||
// $this->database->environment->project->team->notify(new StatusChanged($this->database));
|
||||
|
Loading…
Reference in New Issue
Block a user