Skip to content

Commit d43ba88

Browse files
committed
fix: added status update for workspace, project & mcp name
1 parent a7007f8 commit d43ba88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/usage/tracking.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ func (u *UsageTracker) WriteToResource(ctx context.Context, client client.Client
300300
}
301301
}
302302

303+
mcpUsage.Status.Workspace = hourlyUsage.Workspace
304+
mcpUsage.Status.Project = hourlyUsage.Project
305+
mcpUsage.Status.MCP = hourlyUsage.Name
303306
mcpUsage.Status.ChargingTarget = chargingTarget
304307

305308
found := false

0 commit comments

Comments
 (0)