TUN-1056: Lint error broke build

This commit is contained in:
Adam Chalmers 2018-09-28 10:48:04 -05:00 committed by Areg Harutyunyan
parent 1a5e82bc04
commit 4c464e1adf
1 changed files with 1 additions and 1 deletions

View File

@ -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"))