From 832df1091b9c77194cdabe8d512fb438d67ebdc5 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 7fc3c430c..d4d632127 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"),