Cleanup vet errors
This commit is contained in:
parent
8d7db2cd38
commit
2f88ac2e2b
|
@ -97,7 +97,7 @@ func testAccCheckImageListEntryDestroy(s *terraform.State) error {
|
||||||
|
|
||||||
name, version, err := parseOPCImageListEntryID(rs.Primary.ID)
|
name, version, err := parseOPCImageListEntryID(rs.Primary.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Error parsing the Image List ID: $+v", err)
|
return fmt.Errorf("Error parsing the Image List ID: %+v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
input := compute.GetImageListEntryInput{
|
input := compute.GetImageListEntryInput{
|
||||||
|
|
|
@ -405,7 +405,7 @@ func resourceInstanceCreate(d *schema.ResourceData, meta interface{}) error {
|
||||||
return fmt.Errorf("Error creating instance %s: %s", input.Name, err)
|
return fmt.Errorf("Error creating instance %s: %s", input.Name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("[DEBUG] Created instance %s: %#v", result.ID)
|
log.Printf("[DEBUG] Created instance %s: %#v", input.Name, result.ID)
|
||||||
|
|
||||||
d.SetId(result.ID)
|
d.SetId(result.ID)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue