From e7eede5f7424fbd61f85973335fa5447e35a3759 Mon Sep 17 00:00:00 2001 From: Zhiguang Wang Date: Tue, 6 Aug 2019 14:01:51 +0800 Subject: [PATCH] Add default value "3m" to image_delay, making it consistent with docs. --- drivers/docker/config.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/docker/config.go b/drivers/docker/config.go index 7fc3c430c32..d4d6321277e 100644 --- a/drivers/docker/config.go +++ b/drivers/docker/config.go @@ -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"),