Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
happytreees committed Jun 27, 2023
1 parent 363f77b commit 161daf3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion machine/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ func (d *Driver) Create() (err error) {
}

// Create new ssh key
d.createSSHKey()
if err = d.createSSHKey(); err != nil {
log.Errorf("Error creating SSH Key")
return err
}

// Create instance
d.ResponsePayloads.Instance, err = d.getVultrClient().Instance.Create(context.Background(), &d.RequestPayloads.InstanceCreateReq)
Expand Down

0 comments on commit 161daf3

Please sign in to comment.