We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c805480 commit d001e52Copy full SHA for d001e52
internal/configs/configschema/path.go
@@ -35,7 +35,7 @@ func (b *Block) AttributeByPath(path cty.Path) *Attribute {
35
36
// BlockByPath looks up the Block schema which corresponds to the given
37
// cty.Path. A nil value is returned if the given path does not correspond to a
38
-// specific attribute.
+// specific block.
39
func (b *Block) BlockByPath(path cty.Path) *Block {
40
for i, step := range path {
41
switch step := step.(type) {
0 commit comments