Skip to content

Commit

Permalink
Fix wrong object storage id for odoo
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Dec 21, 2023
1 parent c362853 commit 2061f92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/cloudscale/fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import "github.com/vshn/billing-collector-cloudservices/pkg/odoo"
const (
// source format: 'query:zone:tenant:namespace' or 'query:zone:tenant:namespace:class'
// We do not have real (prometheus) queries here, just random hardcoded strings.
productIdStorage = "appcat-cloudscale-object-storage-storage"
productIdTrafficOut = "appcat-cloudscale-object-storage-traffic-out"
productIdQueryRequests = "appcat_object-storage-requests"
productIdStorage = "appcat-cloudscale-objectstorage-storage"
productIdTrafficOut = "appcat-cloudscale-objectstorage-traffic-out"
productIdQueryRequests = "appcat-cloudscale-objectstorage-requests"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/exoscale/objectstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
k8s "sigs.k8s.io/controller-runtime/pkg/client"
)

const productIdStorage = "appcat-exoscale-object-storage"
const productIdStorage = "appcat-exoscale-objectstorage"

// ObjectStorage gathers bucket data from exoscale provider and cluster and saves to the database
type ObjectStorage struct {
Expand Down

0 comments on commit 2061f92

Please sign in to comment.