diff --git a/google/resource_filestore_instance.go b/google/resource_filestore_instance.go index 917554b5..1a799631 100644 --- a/google/resource_filestore_instance.go +++ b/google/resource_filestore_instance.go @@ -232,9 +232,6 @@ func resourceFilestoreInstanceRead(d *schema.ResourceData, meta interface{}) err return fmt.Errorf("Error reading Instance: %s", err) } - if err := d.Set("name", flattenFilestoreInstanceName(res["name"], d)); err != nil { - return fmt.Errorf("Error reading Instance: %s", err) - } if err := d.Set("description", flattenFilestoreInstanceDescription(res["description"], d)); err != nil { return fmt.Errorf("Error reading Instance: %s", err) } @@ -378,13 +375,6 @@ func resourceFilestoreInstanceImport(d *schema.ResourceData, meta interface{}) ( return []*schema.ResourceData{d}, nil } -func flattenFilestoreInstanceName(v interface{}, d *schema.ResourceData) interface{} { - if v == nil { - return v - } - return NameFromSelfLinkStateFunc(v) -} - func flattenFilestoreInstanceDescription(v interface{}, d *schema.ResourceData) interface{} { return v }