Skip to content
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

Support configuration of api endpoint for Capella organization #498

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

Westwooo
Copy link
Contributor

Addresses: #487

@@ -230,6 +230,7 @@ pub fn update_config_file(guard: &mut MutexGuard<State>, span: Span) -> Result<(
c.access_key(),
Some(c.timeout()),
c.default_project(),
None,

Choose a reason for hiding this comment

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

Why is this None?
Presumably we would want to save the api_endpoint to the config file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think that we do. Since either the endpoint will be the default, so adding the default endpoint to the file will just cause confusion. Or it will not be the default, in which case it will already be in the config file.

Choose a reason for hiding this comment

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

Ah, I see. Since it's only configurable through the config file, it doesn't make sense to update the config file.

@@ -230,6 +230,7 @@ pub fn update_config_file(guard: &mut MutexGuard<State>, span: Span) -> Result<(
c.access_key(),
Some(c.timeout()),
c.default_project(),
None,

Choose a reason for hiding this comment

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

Ah, I see. Since it's only configurable through the config file, it doesn't make sense to update the config file.

@Westwooo Westwooo merged commit 3aa31f4 into main Sep 26, 2024
12 checks passed
@Westwooo Westwooo deleted the config_file_api_endpoint branch September 26, 2024 09:50
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