Skip to content

CXXCBC-593: apply configuration profile as the last step#655

Merged
avsej merged 1 commit intocouchbase:mainfrom
avsej:CXXCBC-593-cbc-fix-configuration_profile-switch
Sep 12, 2024
Merged

CXXCBC-593: apply configuration profile as the last step#655
avsej merged 1 commit intocouchbase:mainfrom
avsej:CXXCBC-593-cbc-fix-configuration_profile-switch

Conversation

@avsej
Copy link
Copy Markdown
Member

@avsej avsej commented Sep 11, 2024

To ensure that profile works, we must apply it the options as the very last step, because the way how CLI parser works, the switches are always populated, either by user value or by default. And being --configuration-profile switch itself, we cannot update defaults for other switches at before the parsing stage, therefore we left with the only option to defer profile application to the very last step.

To ensure that profile works, we must apply it the options as the very
last step, because the way how CLI parser works, the switches are always
populated, either by user value or by default. And being
--configuration-profile switch itself, we cannot update defaults for
other switches at before the parsing stage, therefore we left with the
only option to defer profile application to the very last step.
@avsej avsej requested a review from a team September 11, 2024 19:34
@avsej avsej merged commit c251af0 into couchbase:main Sep 12, 2024
@avsej avsej deleted the CXXCBC-593-cbc-fix-configuration_profile-switch branch September 12, 2024 15:18
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