From 6d2358d76dcc5e8ce411ab26634953c18051e85d Mon Sep 17 00:00:00 2001 From: shoan Date: Wed, 19 Sep 2018 08:01:19 +0530 Subject: [PATCH] Fixed bug in the sample code Added metaparticle.Runtime to Containerize to get the code to run --- tutorials/go/tutorial.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tutorials/go/tutorial.md b/tutorials/go/tutorial.md index cc69fe5..763d670 100644 --- a/tutorials/go/tutorial.md +++ b/tutorials/go/tutorial.md @@ -88,6 +88,10 @@ func handler(w http.ResponseWriter, r *http.Request) { func main() { metaparticle.Containerize( + &metaparticle.Runtime{ + Ports: []int32{port}, + Executor: "docker", + }, &metaparticle.Package{ Name: "metaparticle-web-demo", Repository: "your-docker-user-goes-here",