Skip to content

chore(loadbalancer): regional adjustment #652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 19, 2025

Conversation

rubenhoenle
Copy link
Member

relates to STACKITCLI-127

relates to STACKITCLI-127
Copy link
Contributor

@marceljk marceljk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks in general good! The only thing what needs to be changed is the following:

From:

region := viper.GetString(config.RegionKey)
cfgOptions = append(cfgOptions, authCfgOption, sdkConfig.WithRegion(region))

to:

} else {
	cfgOptions = append(cfgOptions, authCfgOption)
}

Because with the current state, the region config will be used to define the region within the client. This isn't possible after the region adjustment and throws an error

@rubenhoenle rubenhoenle requested a review from marceljk March 19, 2025 14:05
@rubenhoenle rubenhoenle merged commit 8ebf466 into main Mar 19, 2025
3 checks passed
@rubenhoenle rubenhoenle deleted the chore/STACKITCLI-127-region-adjustment-loadbalancer branch March 19, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants