Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed Apr 21, 2020
1 parent 8a39c09 commit dc71260
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -33,9 +33,9 @@ func resourceArmPostgreSQLServer() *schema.Resource {

Importer: &schema.ResourceImporter{
State: func(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) {

_, err := parse.PostgresServerServerID(d.Id())
return []*schema.ResourceData{d}, err
if _, err := parse.PostgresServerServerID(d.Id()); err != nil {
return []*schema.ResourceData{d}, err
}

d.Set("create_mode", "Default")
if v, ok := d.GetOk("create_mode"); ok && v.(string) != "" {
Expand Down

0 comments on commit dc71260

Please sign in to comment.