Skip to content

Commit

Permalink
Fix missing reference in cyral.core docs (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcmjunior authored Nov 6, 2023
1 parent 4427cd3 commit e304244
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cyral/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ func (r *NewFeature) WriteToSchema(d *schema.ResourceData) error {
if err := d.Set("description", r.Description); err != nil {
return fmt.Errorf("error setting 'description' field: %w", err)
}
if err := d.Set("name", r.Name); err != nil {
return fmt.Errorf("error setting 'name' field: %w", err)
}
d.SetId(r.Name)
return nil
}
Expand Down

0 comments on commit e304244

Please sign in to comment.