mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Use %q instead of \"%s\"
Co-authored-by: Djordje Lukic <djordje.lukic@docker.com>
This commit is contained in:
parent
568dc6de23
commit
0dcab4004d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue