func (c Containers) Unhealthy() error {
	for _, container := range c {
		if container.Status == types.Unhealthy {
			return fmt.Errorf(
				"%w: %s",
				unhealthyError,
				strings.Join(c.UnhealtyContainers(), ", "),
			)
		}
	}

	return nil
}
// Unhealthy if one of the containers get unhealthy.
Unhealthy if one of the containers get unhealthy.
// Unhealthy if one of the containers get unhealthy .
func (c Containers) Unhealthy() error {
	for _, container := range c {
		if container.Status == types.Unhealthy {
			return fmt.Errorf(
				"%w: %s",
				unhealthyError,
				strings.Join(c.UnhealtyContainers(), ", "),
			)
		}
	}
	return nil
}
func ( c Containers ) Unhealthy ( ) error { for _ , container := range c { if container . Status == types . Unhealthy { return fmt . Errorf ( " " , unhealthyError , strings . Join ( c . UnhealtyContainers ( ) , " " ) , ) } } return nil }
Unhealthy if one of the containers get unhealthy.
Unhealthy if one of the containers get unhealthy .