Skip to content

Commit

Permalink
fix: Do not fail if the Traefik config dir path already exists (#1966)
Browse files Browse the repository at this point in the history
## Description:
There is a race condition between Traefik and us trying to create the
config dir.

## Is this change user facing?
NO

Co-authored-by: leoporoli <leandroporoli@gmail.com>
  • Loading branch information
laurentluce and leoporoli committed Dec 18, 2023
1 parent 5d74d16 commit 4e6f7d7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@ func (traefik *traefikContainerConfigProvider) GetContainerArgs(
overrideCmd := []string{
shCmdFlag,
fmt.Sprintf(
"%v '%v' && %v '%v' > %v && %v",
"%v -p '%v' && %v '%v' > %v && %v",
mkdirCmdName,
configDirpath,
printfCmdName,
Expand Down

0 comments on commit 4e6f7d7

Please sign in to comment.