From 95db76154b3954e01ce344205a24d50a5138078e Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Thu, 23 May 2019 03:24:11 -0300 Subject: [PATCH] Remove incorrect parameters --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index 8987bc3..5246e2e 100644 --- a/api.go +++ b/api.go @@ -52,7 +52,7 @@ func main() { log.Fatalf("Cannot parse duration Got: %v", err) } - playground := types.Playground{Domain: config.PlaygroundDomain, DefaultDinDInstanceImage: "franela/dind", AllowWindowsInstances: config.NoWindows, DefaultSessionDuration: d, Tasks: []string{".*"}, Extras: map[string]interface{}{"LoginRedirect": "http://localhost:3000"}} + playground := types.Playground{Domain: config.PlaygroundDomain, DefaultDinDInstanceImage: "franela/dind", AvailableDinDInstanceImages: []string{"franela/dind"}, AllowWindowsInstances: config.NoWindows, DefaultSessionDuration: d, Tasks: []string{".*"}, Extras: map[string]interface{}{"LoginRedirect": "http://localhost:3000"}} if _, err := core.PlaygroundNew(playground); err != nil { log.Fatalf("Cannot create default playground. Got: %v", err) }