Skip to content

Commit

Permalink
fix linter and goimports warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
displague committed Aug 12, 2020
1 parent d2cad7d commit 265ea7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package main

import (
"github.com/docker/machine/libmachine/drivers/plugin"
"github.com/packethost/docker-machine-driver-packet"
packet "github.com/packethost/docker-machine-driver-packet"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {

d.SpotInstance = flags.Bool("packet-spot-instance")

if d.SpotInstance == true {
if d.SpotInstance {
SpotPriceMax := flags.String("packet-spot-price-max")
if SpotPriceMax == "" {
d.SpotPriceMax = -1
Expand Down

0 comments on commit 265ea7b

Please sign in to comment.