Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhati-pradeep committed Aug 4, 2022
1 parent ec8681f commit a284406
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nutanix/resource_nutanix_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ func resourceNutanixImageCreate(ctx context.Context, d *schema.ResourceData, met

// check if any recent tasks related to image upload failed or not
for _, tUUID := range resp.Status.ExecutionContext.TaskUUID.([]interface{}) {

u := tUUID.(string)
// get image upload task status
uploadTaskInfo, err := conn.V3.GetTask(u)
Expand All @@ -319,9 +318,7 @@ func resourceNutanixImageCreate(ctx context.Context, d *schema.ResourceData, met
return diag.Errorf("error_detail: %s, progress_message: %s", utils.StringValue(uploadTaskInfo.ErrorDetail), utils.StringValue(uploadTaskInfo.ProgressMessage))
}
}

}

return resourceNutanixImageRead(ctx, d, meta)
}

Expand Down

0 comments on commit a284406

Please sign in to comment.