From 1ca3a0443e2a2c49239da9f7bed455bf313a7f52 Mon Sep 17 00:00:00 2001 From: Euan Kemp Date: Mon, 13 Aug 2018 09:17:06 -0700 Subject: [PATCH] pk-deploy: set logger to fix panic Fixes #1206 Change-Id: Ifa4ba0d0face1f4ee176cbaed483ec173e7dbbb7 --- cmd/pk-deploy/gce.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/pk-deploy/gce.go b/cmd/pk-deploy/gce.go index 6edca110d..f6613ec9e 100644 --- a/cmd/pk-deploy/gce.go +++ b/cmd/pk-deploy/gce.go @@ -148,6 +148,7 @@ func (c *gceCmd) RunCommand(args []string) error { depl := &gce.Deployer{ Client: hc, Conf: instConf, + Logger: log.New(cmdmain.Stderr, "", log.Flags()), } inst, err := depl.Create(context.Background()) if err != nil {