Skip to content

Commit

Permalink
Merge pull request #6078 from zhiguangwang/fix-docker-image-delay-def…
Browse files Browse the repository at this point in the history
…ault-value

Add default value "3m" to image_delay, making it consistent with docs.
  • Loading branch information
endocrimes committed Sep 2, 2019
2 parents 798b605 + e7eede5 commit 9a44545
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/docker/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ var (
hclspec.NewAttr("image", "bool", false),
hclspec.NewLiteral("true"),
),
"image_delay": hclspec.NewAttr("image_delay", "string", false),
"image_delay": hclspec.NewDefault(
hclspec.NewAttr("image_delay", "string", false),
hclspec.NewLiteral("3m"),
),
"container": hclspec.NewDefault(
hclspec.NewAttr("container", "bool", false),
hclspec.NewLiteral("true"),
Expand Down

0 comments on commit 9a44545

Please sign in to comment.