func (c Containers) UnhealtyContainers() []string {
	var unhealthy []string

	for _, container := range c {
		if container.Status == types.Unhealthy {
			unhealthy = append(unhealthy, container.Name)
		}
	}

	return unhealthy
}
// UnhealtyContainers returns a list of container names of containers that are not healthy (yet).
UnhealtyContainers returns a list of container names of containers that are not healthy (yet).
// UnhealtyContainers returns a list of container names of containers that are not healthy ( yet ) .
func (c Containers) UnhealtyContainers() []string {
	var unhealthy []string
	for _, container := range c {
		if container.Status == types.Unhealthy {
			unhealthy = append(unhealthy, container.Name)
		}
	}
	return unhealthy
}
func ( c Containers ) UnhealtyContainers ( ) [ ] string { var unhealthy [ ] string for _ , container := range c { if container . Status == types . Unhealthy { unhealthy = append ( unhealthy , container . Name ) } } return unhealthy }
UnhealtyContainers returns a list of container names of containers that are not healthy (yet).
UnhealtyContainers returns a list of container names of containers that are not healthy ( yet ) .