From 4c464e1adfc9983a4e12f7c61cb17f736c1ee1a9 Mon Sep 17 00:00:00 2001 From: Adam Chalmers Date: Fri, 28 Sep 2018 10:48:04 -0500 Subject: [PATCH] TUN-1056: Lint error broke build --- cmd/cloudflared/tunnel/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cloudflared/tunnel/cmd.go b/cmd/cloudflared/tunnel/cmd.go index 7877896a..f89501b8 100644 --- a/cmd/cloudflared/tunnel/cmd.go +++ b/cmd/cloudflared/tunnel/cmd.go @@ -231,7 +231,7 @@ func StartServer(c *cli.Context, version string, shutdownC, graceShutdownC chan defer func() { if err := tmpTraceFile.Close(); err != nil { - logger.WithError(err).Error("Failed to close trace output file %s", tmpTraceFile.Name()) + logger.WithError(err).Errorf("Failed to close trace output file %s", tmpTraceFile.Name()) } if err := os.Rename(tmpTraceFile.Name(), c.String("trace-output")); err != nil { logger.WithError(err).Errorf("Failed to rename temporary trace output file %s to %s", tmpTraceFile.Name(), c.String("trace-output"))