From e304244814ba30de330607f259c841192c2c9fe1 Mon Sep 17 00:00:00 2001 From: Wilson de Carvalho <796900+wcmjunior@users.noreply.github.com> Date: Mon, 6 Nov 2023 11:32:02 -0800 Subject: [PATCH] Fix missing reference in cyral.core docs (#473) --- cyral/core/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cyral/core/README.md b/cyral/core/README.md index aea7e0bc..2da59eb6 100644 --- a/cyral/core/README.md +++ b/cyral/core/README.md @@ -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 }