Identify pipeline entries in reports and diagnostics
This commit is contained in:
@@ -92,6 +92,14 @@ func (c *ObservationCollector) Hooks() CallHooks {
|
||||
}
|
||||
|
||||
func copyContext(value structuredoutput.DiagnosticContext) structuredoutput.DiagnosticContext {
|
||||
if value.StageIndex != nil {
|
||||
index := *value.StageIndex
|
||||
value.StageIndex = &index
|
||||
}
|
||||
if value.StageID != nil {
|
||||
id := *value.StageID
|
||||
value.StageID = &id
|
||||
}
|
||||
if value.SectionIndex != nil {
|
||||
index := *value.SectionIndex
|
||||
value.SectionIndex = &index
|
||||
|
||||
Reference in New Issue
Block a user