From 724586ba1d05c44125727109038fe55a0cba03e3 Mon Sep 17 00:00:00 2001 From: Danielle Lancashire Date: Tue, 3 Sep 2019 08:53:37 +0200 Subject: [PATCH] docker: Fix driver spec hclspec.NewLiteral does not quote its values, which caused `3m` to be parsed as a nonsensical literal which broke the plugin loader during initialization. By quoting the value here, it starts correctly. --- drivers/docker/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/docker/config.go b/drivers/docker/config.go index d4d632127..b18f00cbf 100644 --- a/drivers/docker/config.go +++ b/drivers/docker/config.go @@ -189,7 +189,7 @@ var ( ), "image_delay": hclspec.NewDefault( hclspec.NewAttr("image_delay", "string", false), - hclspec.NewLiteral("3m"), + hclspec.NewLiteral("\"3m\""), ), "container": hclspec.NewDefault( hclspec.NewAttr("container", "bool", false),