From 0dcab4004d4a5040ceabf7c5705d46fb21834f3a Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Fri, 3 Jul 2020 15:39:44 +0200 Subject: [PATCH] Use %q instead of \"%s\" Co-authored-by: Djordje Lukic --- azure/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/backend.go b/azure/backend.go index 34c5bdf4b..22484f15a 100644 --- a/azure/backend.go +++ b/azure/backend.go @@ -159,7 +159,7 @@ func (cs *aciContainerService) List(ctx context.Context, _ bool) ([]containers.C func (cs *aciContainerService) Run(ctx context.Context, r containers.ContainerConfig) error { if strings.Contains(r.ID, composeContainerSeparator) { - return errors.New(fmt.Sprintf(`invalid container name. ACI container name cannot include "%s"`, composeContainerSeparator)) + return errors.New(fmt.Sprintf("invalid container name. ACI container name cannot include %q", composeContainerSeparator)) } var ports []types.ServicePortConfig