-
Jamie Tanna authored
To make sure that we always set up the Span, in an automagically managed process that always occurs before any processing, we should make the `StartSpanForCommand` call execute in the `PersistentPreRunE` and `PersistentPostRunE`. This also makes `StartSpanForCommand` update the `context.Context` in the function itself, so we're always using the correct child `context.Context`.
Jamie Tanna authoredTo make sure that we always set up the Span, in an automagically managed process that always occurs before any processing, we should make the `StartSpanForCommand` call execute in the `PersistentPreRunE` and `PersistentPostRunE`. This also makes `StartSpanForCommand` update the `context.Context` in the function itself, so we're always using the correct child `context.Context`.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.