mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-19 04:18:32 +00:00
Add service
This commit is contained in:
parent
748ba3e368
commit
18a9079ee6
1 changed files with 2 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ export const mapPsOutput = (output: string): DockerComposePsResult => {
|
|||
const [
|
||||
nameFragment,
|
||||
commandFragment,
|
||||
serviceFragment,
|
||||
stateFragment,
|
||||
untypedPortsFragment
|
||||
] = line.split(/\s{3,}/)
|
||||
|
|
@ -94,6 +95,7 @@ export const mapPsOutput = (output: string): DockerComposePsResult => {
|
|||
return {
|
||||
name: nameFragment.trim(),
|
||||
command: commandFragment.trim(),
|
||||
service: serviceFragment.trim(),
|
||||
state: stateFragment.trim(),
|
||||
ports: mapPorts(untypedPortsFragment.trim())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue