Skip to content

Commit

Permalink
Fix missing schema definition in terraform state
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktorn committed Jun 2, 2021
1 parent 7351dcd commit 107a7af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func resourceApiManagementApiSchemaRead(d *pluginsdk.ResourceData, meta interfac
if properties := resp.SchemaContractProperties; properties != nil {
d.Set("content_type", properties.ContentType)
if documentProperties := properties.SchemaDocumentProperties; documentProperties != nil {
d.Set("value", documentProperties.Value)
d.Set("value", documentProperties.Definitions)
}
}

Expand Down

0 comments on commit 107a7af

Please sign in to comment.