Fixed wrong error message

This commit is contained in:
Guillaume Tardif 2020-07-10 14:29:24 +02:00
parent 23a03c59aa
commit e2b0ee08ac
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ func (cs *aciContainerService) List(ctx context.Context, _ bool) ([]containers.C
if _, ok := group.Tags[singleContainerTag]; ok {
if group.Containers == nil || len(*group.Containers) < 1 {
return []containers.Container{}, fmt.Errorf("no containers to run")
return []containers.Container{}, fmt.Errorf("found no containers in ACI container group %s", *containerGroup.Name)
}
container := (*group.Containers)[0]
c := getContainer(*containerGroup.Name, group.IPAddress, container)