Skip to content

Commit

Permalink
ProjectV2: check error on setting servers
Browse files Browse the repository at this point in the history
Check error on setting non-scalar attribute.
  • Loading branch information
ozerovandrei committed Oct 15, 2018
1 parent 744a687 commit 6f05022
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion selvpc/resource_selvpc_resell_project_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ func resourceResellProjectV2Read(d *schema.ResourceData, meta interface{}) error
// Set all quotas. This can be different from what the user specified since
// the project will have all available resource quotas automatically applied.
allQuotas := resourceResellProjectV2QuotasToSet(project.Quotas)
d.Set("all_quotas", allQuotas)
if err := d.Set("all_quotas", allQuotas); err != nil {
log.Printf("[DEBUG] all_quotas: %s", err)
}

return nil
}
Expand Down

0 comments on commit 6f05022

Please sign in to comment.