Skip to content

Commit

Permalink
made err msg clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
WodansSon committed Dec 6, 2018
1 parent 22ad342 commit a2671f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurerm/resource_arm_mariadb_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func resourceArmMariaDbDatabaseRead(d *schema.ResourceData, meta interface{}) er
return nil
}

return fmt.Errorf("error making Read request on Azure MariaDB database %q (Resource Group %q):\n%+v", name, resourceGroup, err)
return fmt.Errorf("error making read request on Azure MariaDB database %q (Resource Group %q):\n%+v", name, resourceGroup, err)
}

d.Set("name", resp.Name)
Expand Down Expand Up @@ -160,7 +160,7 @@ func resourceArmMariaDbDatabaseDelete(d *schema.ResourceData, meta interface{})
return nil
}

return fmt.Errorf("error making Read request on MariaDB database %q (Resource Group %q):\n%+v", name, resourceGroup, err)
return fmt.Errorf("error making delete request on MariaDB database %q (Resource Group %q):\n%+v", name, resourceGroup, err)
}

if err = future.WaitForCompletionRef(ctx, client.Client); err != nil {
Expand Down

0 comments on commit a2671f7

Please sign in to comment.