Skip to content

Commit

Permalink
copy docs link on schema merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanck committed Apr 19, 2022
1 parent f72f9ef commit fc4696c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decoder/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func mergeBlockBodySchemas(block *hcl.Block, blockSchema *schema.BlockSchema) (*
}

mergedSchema.Targets = depSchema.Targets.Copy()
mergedSchema.DocsLink = depSchema.DocsLink.Copy()
}

return mergedSchema, nil
Expand Down

0 comments on commit fc4696c

Please sign in to comment.