mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
updated default_name to unknown
This commit is contained in:
parent
a8b3b8a756
commit
6eb57594a1
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ func (c *DockerCommand) GetContainers(existingContainers []*Container) ([]*Conta
|
||||||
} else if name, ok := ctr.Labels["name"]; ok {
|
} else if name, ok := ctr.Labels["name"]; ok {
|
||||||
newContainer.Name = name
|
newContainer.Name = name
|
||||||
} else {
|
} else {
|
||||||
newContainer.Name = "default_name"
|
newContainer.Name = "Unknown"
|
||||||
}
|
}
|
||||||
newContainer.ServiceName = ctr.Labels["com.docker.compose.service"]
|
newContainer.ServiceName = ctr.Labels["com.docker.compose.service"]
|
||||||
newContainer.ProjectName = ctr.Labels["com.docker.compose.project"]
|
newContainer.ProjectName = ctr.Labels["com.docker.compose.project"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue