Skip to content

Commit

Permalink
Fix collecting metrics from CPU instances (#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
r4victor authored Oct 22, 2024
1 parent 5dff5be commit d8b11a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/internal/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (s *MetricsCollector) GetGPUMetrics() ([]schemas.GPUMetrics, error) {
if err == nil {
return metrics, nil
}
return nil, err
return []schemas.GPUMetrics{}, err
}

func (s *MetricsCollector) GetNVIDIAGPUMetrics() ([]schemas.GPUMetrics, error) {
Expand Down

0 comments on commit d8b11a3

Please sign in to comment.