Skip to content

Commit

Permalink
Set correct ItemDescription
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Dec 22, 2023
1 parent b92d0af commit b3fa24b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cloudscale/objectstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (o *ObjectStorage) createOdooRecord(bucketMetricsData cloudscale.BucketMetr
{
ProductID: productIdStorage,
InstanceID: instanceId,
ItemDescription: "AppCat Cloudscale ObjectStorage",
ItemDescription: bucketMetricsData.Subject.BucketName,
ItemGroupDescription: itemGroup,
SalesOrder: salesOrder,
UnitID: o.uomMapping[units[productIdStorage]],
Expand Down
2 changes: 1 addition & 1 deletion pkg/exoscale/objectstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (o *ObjectStorage) getOdooMeteredBillingRecords(ctx context.Context, sosBuc
o := odoo.OdooMeteredBillingRecord{
ProductID: productIdStorage,
InstanceID: instanceId,
ItemDescription: "AppCat Exoscale ObjectStorage",
ItemDescription: bucketDetail.BucketName,
ItemGroupDescription: itemGroup,
SalesOrder: salesOrder,
UnitID: o.uomMapping[odoo.GBDay],
Expand Down

0 comments on commit b3fa24b

Please sign in to comment.