From e2b0ee08ac8ed198e75576a5f0a2c7514c6afb4b Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Fri, 10 Jul 2020 14:29:24 +0200 Subject: [PATCH] Fixed wrong error message --- azure/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/backend.go b/azure/backend.go index baf5d1d7..2888285d 100644 --- a/azure/backend.go +++ b/azure/backend.go @@ -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)