Skip to content

Commit

Permalink
Fix wrong value for Requests query
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <nicolas.bigler@vshn.ch>
  • Loading branch information
TheBigLee committed Jan 18, 2024
1 parent 726072b commit 2b21be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudscale/objectstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (o *ObjectStorage) createOdooRecord(bucketMetricsData cloudscale.BucketMetr
if err != nil {
return nil, err
}
queryRequestsValue, err := convertUnit(units[productIdQueryRequests], uint64(bucketMetricsData.TimeSeries[0].Usage.SentBytes))
queryRequestsValue, err := convertUnit(units[productIdQueryRequests], uint64(bucketMetricsData.TimeSeries[0].Usage.Requests))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 2b21be1

Please sign in to comment.