Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #8835 from medyagh/lint_update
Browse files Browse the repository at this point in the history
ci: update golang lint version
  • Loading branch information
medyagh authored Jul 24, 2020
2 parents 0712b20 + 263d0b3 commit db00a67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/hyperkit/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit db00a67

Please sign in to comment.