Skip to content

Commit 5abe019

Browse files
committed
fix GetEndOfServiceDate test
1 parent cdbcc24 commit 5abe019

File tree

2 files changed

+10
-205
lines changed

2 files changed

+10
-205
lines changed

internal/services/instance/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,6 +1603,7 @@ func GetEndOfServiceDate(ctx context.Context, client *scw.Client, zone scw.Zone,
16031603
api := product_catalog.NewPublicCatalogAPI(client)
16041604

16051605
products, err := api.ListPublicCatalogProducts(&product_catalog.PublicCatalogAPIListPublicCatalogProductsRequest{
1606+
Zone: &zone,
16061607
ProductTypes: []product_catalog.ListPublicCatalogProductsRequestProductType{
16071608
product_catalog.ListPublicCatalogProductsRequestProductTypeInstance,
16081609
},

internal/services/instance/testdata/test-get-end-of-service-date.cassette.yaml

Lines changed: 9 additions & 205 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)