mirror of https://github.com/docker/compose.git
Use %q instead of \"%s\"
Co-authored-by: Djordje Lukic <djordje.lukic@docker.com>
This commit is contained in:
parent
568dc6de23
commit
0dcab4004d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue