Skip to content

fix: rgw --port is not respected#504

Merged
sabaini merged 1 commit intocanonical:mainfrom
Gu1nness:fix/rgw-port-not-respected
Feb 11, 2025
Merged

fix: rgw --port is not respected#504
sabaini merged 1 commit intocanonical:mainfrom
Gu1nness:fix/rgw-port-not-respected

Conversation

@Gu1nness
Copy link
Contributor

@Gu1nness Gu1nness commented Feb 7, 2025

Description

In #355 a regression was added where the --port rgw option is not respected.
This PR fixes this regression, updates the tests in order to ensure that it is respected in all contexts.

Fixes #483

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • CleanCode (Code refactor, test updates, does not introduce functional changes)
  • Documentation update (Doc only change)

How Has This Been Tested?

The unit tests were updated to reflect that change and confirm that the option is respected when it is passed.

Contributor's Checklist

Please check that you have:

  • self-reviewed the code in this PR.
  • added code comments, particularly in hard-to-understand areas.
  • updated the user documentation with corresponding changes.
  • added tests to verify effectiveness of this change.

@Gu1nness Gu1nness force-pushed the fix/rgw-port-not-respected branch from 056912f to 344a552 Compare February 7, 2025 16:54
@Gu1nness
Copy link
Contributor Author

Gu1nness commented Feb 7, 2025

Update, I signed the CLA.
I thought I had done it during my onboarding a few months ago but it seems that it's not the case.

@sabaini
Copy link
Collaborator

sabaini commented Feb 10, 2025

Heya @Gu1nness , many thanks for the fix+test!

Sorry abt the CLA hassle. Afaict the CLA check looks at either the Github account org membership or the mailaddress used to sign the commits maybe this helps?

@Gu1nness
Copy link
Contributor Author

Gu1nness commented Feb 10, 2025

Sorry abt the CLA hassle. Afaict the CLA check looks at either the Github account org membership or the mailaddress used to sign the commits maybe this helps?

For the github account org membership, I'm part of Canonical org so it shouldn't be an issue.
I'll check the email used to sign the CLA and I'll keep you updated.

@Gu1nness Gu1nness force-pushed the fix/rgw-port-not-respected branch 4 times, most recently from cfd1ea9 to 07a276d Compare February 10, 2025 15:20
This regression was introduced in canonical#355.
This change was tested with an update of the current unit tests.

Closes: canonical#483
Signed-off-by: Neha Oudin <neha.oudin@canonical.com>
@Gu1nness Gu1nness force-pushed the fix/rgw-port-not-respected branch from 07a276d to 05a5068 Compare February 10, 2025 16:01
Copy link
Collaborator

@sabaini sabaini left a comment

Choose a reason for hiding this comment

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

Merci!

@sabaini sabaini merged commit a0ec6e1 into canonical:main Feb 11, 2025
17 checks passed
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.

RGW: --port not respected

2 participants