Skip to content

Commit

Permalink
Change productID for exoscale dbaas
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Dec 20, 2023
1 parent 5f447cd commit 155fd38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/exoscale/dbaas.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
k8s "sigs.k8s.io/controller-runtime/pkg/client"
)

const productIdPrefix = "appcat-exoscale-dbaas"
const productIdPrefix = "appcat-exoscale"

var (
groupVersionKinds = map[string]schema.GroupVersionKind{
Expand Down
4 changes: 2 additions & 2 deletions pkg/exoscale/dbaas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestDBaaS_aggregatedDBaaS(t *testing.T) {

now := time.Now().In(location)
record1 := odoo.OdooMeteredBillingRecord{
ProductID: "appcat-exoscale-dbaas-pg-hobbyist-2",
ProductID: "appcat-exoscale-pg-hobbyist-2",
InstanceID: "ch-gva-2/postgres-abc",
ItemDescription: "Exoscale DBaaS PostgreSQL",
ItemGroupDescription: "APPUiO Managed - Zone: c-test1 / Namespace: vshn-xyz",
Expand All @@ -32,7 +32,7 @@ func TestDBaaS_aggregatedDBaaS(t *testing.T) {
},
}
record2 := odoo.OdooMeteredBillingRecord{
ProductID: "appcat-exoscale-dbaas-pg-business-128",
ProductID: "appcat-exoscale-pg-business-128",
InstanceID: "ch-gva-2/postgres-def",
ItemDescription: "Exoscale DBaaS PostgreSQL",
ItemGroupDescription: "APPUiO Managed - Zone: c-test1 / Namespace: vshn-uvw",
Expand Down

0 comments on commit 155fd38

Please sign in to comment.