mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix: handle new agent stat format correctly (#14576)
--------- Co-authored-by: Ethan Dickson <ethan@coder.com>
This commit is contained in:
@ -74,6 +74,7 @@ func (a *StatsAPI) UpdateStats(ctx context.Context, req *agentproto.UpdateStatsR
|
||||
workspaceAgent,
|
||||
getWorkspaceAgentByIDRow.TemplateName,
|
||||
req.Stats,
|
||||
false,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, xerrors.Errorf("report agent stats: %w", err)
|
||||
|
Reference in New Issue
Block a user