From 263d0b3a763372a9dcaf9570295f6b30100f1a04 Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Fri, 24 Jul 2020 14:45:15 -0700 Subject: [PATCH] update lint version --- pkg/hyperkit/driver.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/hyperkit/driver.go b/pkg/hyperkit/driver.go index fee3392..ec82829 100644 --- a/pkg/hyperkit/driver.go +++ b/pkg/hyperkit/driver.go @@ -397,7 +397,7 @@ func (d *Driver) Stop() error { d.cleanupNfsExports() err := d.sendSignal(syscall.SIGTERM) if err != nil { - return errors.Wrap(err, fmt.Sprintf("hyperkit sigterm failed")) + return errors.Wrap(err, "hyperkit sigterm failed") } // wait 5s for graceful shutdown @@ -406,7 +406,7 @@ func (d *Driver) Stop() error { time.Sleep(time.Second * 1) s, err := d.GetState() if err != nil { - return errors.Wrap(err, fmt.Sprintf("hyperkit waiting graceful shutdown failed")) + return errors.Wrap(err, "hyperkit waiting graceful shutdown failed") } if s == state.Stopped { return nil @@ -468,7 +468,7 @@ func (d *Driver) setupNFSShare() error { return err } - mountCommands := fmt.Sprintf("#/bin/bash\\n") + mountCommands := "#/bin/bash\\n" log.Info(d.IPAddress) for _, share := range d.NFSShares {