Skip to content

Commit

Permalink
Merge branch 'master' into ryanking/grant_priviledges
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanking committed Jan 31, 2019
2 parents 8cd952d + 1bb4a86 commit e408905
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/resources/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func DeleteDatabase(data *schema.ResourceData, meta interface{}) error {
return errors.Wrapf(err, "error dropping database %s", name)
}

data.SetId("")
return nil
}

Expand Down
1 change: 1 addition & 0 deletions pkg/resources/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func DeleteRole(data *schema.ResourceData, meta interface{}) error {
return errors.Wrapf(err, "error dropping role %s", name)
}

data.SetId("")
return nil
}

Expand Down
1 change: 1 addition & 0 deletions pkg/resources/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func DeleteUser(data *schema.ResourceData, meta interface{}) error {
return errors.Wrapf(err, "error dropping user %s", name)
}

data.SetId("")
return nil
}

Expand Down
1 change: 1 addition & 0 deletions pkg/resources/warehouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func DeleteWarehouse(data *schema.ResourceData, meta interface{}) error {
return errors.Wrapf(err, "error dropping warehouse %s", name)
}

data.SetId("")
return nil
}

Expand Down

0 comments on commit e408905

Please sign in to comment.