瀏覽代碼

fix context for analytics (#3880)

Feroze Mohideen 2 年之前
父節點
當前提交
300ea62ffc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/server/handlers/porter_app/analytics.go

+ 1 - 1
api/server/handlers/porter_app/analytics.go

@@ -127,7 +127,7 @@ func TrackStackBuildStatus(
 	validateApplyV2 bool,
 	b64BuildLogs string,
 ) error {
-	_, span := telemetry.NewSpan(ctx, "track-build-status")
+	ctx, span := telemetry.NewSpan(ctx, "track-build-status")
 	defer span.End()
 
 	telemetry.WithAttributes(