fix: terminal

This commit is contained in:
Andras Bacsai committed 2024-09-16 15:35:44 +02:00
1 parent 35f23cfb96
commit f71fb7266d
14 files changed
+118 -59

No files matched your search

+5
View File
@@ -75,6 +75,11 @@ class StandaloneKeydb extends BaseModel
}
}
public function isRunning()
{
return (bool) str($this->status)->contains('running');
}
public function isExited()
{
return (bool) str($this->status)->startsWith('exited');