Browse Source

fix context for analytics (#3880)

Feroze Mohideen 2 years ago
parent
commit
300ea62ffc
1 changed files with 1 additions and 1 deletions
  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,
 	validateApplyV2 bool,
 	b64BuildLogs string,
 	b64BuildLogs string,
 ) error {
 ) error {
-	_, span := telemetry.NewSpan(ctx, "track-build-status")
+	ctx, span := telemetry.NewSpan(ctx, "track-build-status")
 	defer span.End()
 	defer span.End()
 
 
 	telemetry.WithAttributes(
 	telemetry.WithAttributes(