Skip to content

Commit 7009ab7

Browse files
committed
Tweak logging
1 parent 7a0444b commit 7009ab7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tflint/client.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ type AttributesResponse struct {
3737
// WalkResourceAttributes queries the host process, receives a list of attributes that match the conditions,
3838
// and passes each to the walker function.
3939
func (c *Client) WalkResourceAttributes(resource, attributeName string, walker func(*hcl.Attribute) error) error {
40+
log.Printf("[DEBUG] Walk `%s.*.%s` attribute", resource, attributeName)
41+
4042
var response AttributesResponse
4143
if err := c.rpcClient.Call("Plugin.Attributes", AttributesRequest{Resource: resource, AttributeName: attributeName}, &response); err != nil {
4244
return err

0 commit comments

Comments
 (0)