Skip to content

Commit

Permalink
fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
marinsalinas committed Apr 30, 2019
1 parent d29d7c3 commit abdd0ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nutanix/resource_nutanix_virtual_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,8 @@ func resourceNutanixVirtualMachineCreate(d *schema.ResourceData, meta interface{
MinTimeout: 3 * time.Second,
}

if _, err := stateConf.WaitForState(); err != nil {
return fmt.Errorf("error waiting for vm (%s) to create: %s", d.Id(), err)
if _, errWaitTask := stateConf.WaitForState(); errWaitTask != nil {
return fmt.Errorf("error waiting for vm (%s) to create: %s", d.Id(), errWaitTask)
}

//Wait for IP available
Expand Down

0 comments on commit abdd0ff

Please sign in to comment.