Skip to content

Commit 64c76c9

Browse files
fix: wrong endpoint for preprod api (#124)
# Description <!-- * Prefix: the title with the component name being changed. Add a short and self describing sentence to ease the review * Please add a few lines providing context and describing the change * Please self comment changes whenever applicable to help with the review process * Please keep the checklist as part of the PR. Tick what applies to this change. --> ## Checklist * [ ] Changelog updated (under *Unreleased* block) * [ ] Unit tests passed * [ ] End-to-end tests passed
1 parent bf07ff1 commit 64c76c9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.32.3
4+
5+
### Bug Fixes
6+
7+
* fix: malformed API endpoint
8+
39
## 0.32.2
410

511
### Bug Fixes

exoscale/exoscale_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func readExoscaleConfig(config io.Reader) (cloudConfig, error) {
4646
cfg.Global.APIEndpoint = value
4747
} else if value, exists := os.LookupEnv("EXOSCALE_API_ENVIRONMENT"); exists {
4848
if value == "ppapi" {
49-
cfg.Global.APIEndpoint = fmt.Sprintf("https://%s-ch-gva-2.exoscale.com/compute", value)
49+
cfg.Global.APIEndpoint = fmt.Sprintf("https://%s-ch-gva-2.exoscale.com/v2", value)
5050
}
5151
}
5252

0 commit comments

Comments
 (0)