mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
Fix event span to mark action invocation address properly
This commit is contained in:
parent
b5d5a8ec11
commit
552e25b5f9
1 changed files with 1 additions and 1 deletions
|
|
@ -1209,7 +1209,7 @@ func stackChangeHooks(send func(*stacks.StackChangeProgress) error, mainStackSou
|
|||
ReportActionInvocationPlanned: func(ctx context.Context, span any, ai *hooks.ActionInvocation) any {
|
||||
span.(trace.Span).AddEvent("planned action invocation", trace.WithAttributes(
|
||||
attribute.String("component_instance", ai.Addr.Component.String()),
|
||||
attribute.String("resource_instance", ai.Addr.Item.String()),
|
||||
attribute.String("action_invocation_instance", ai.Addr.Item.String()),
|
||||
))
|
||||
|
||||
inv, err := actionInvocationPlanned(ai)
|
||||
|
|
|
|||
Loading…
Reference in a new issue