Skip to content

Commit

Permalink
Fix BasePath region
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Jutteau <[email protected]>
  • Loading branch information
jerome-jutteau committed Mar 1, 2023
1 parent 4db79cf commit 53fc47b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osc/config_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func (configFile *ConfigFile) Configuration(profileName string) (*Configuration,
}

config := NewConfiguration()
config.BasePath = fmt.Sprintf("https://api.%s.outscale.com/api/v1", region)
config.Servers = []ServerConfiguration{
{
Url: url,
Expand Down

0 comments on commit 53fc47b

Please sign in to comment.