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

[fix] s3 user agent configuration is incorrect #2903

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

Ziy1-Tan
Copy link
Contributor

What problem does this PR solve?

Issue Number: #2898

Problem Summary:

What is changed and how it works?

What's Changed:

How it Works:

Side effects(Breaking backward compatibility? Performance regression?):

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@Ziy1-Tan
Copy link
Contributor Author

cicheck

1 similar comment
@Ziy1-Tan
Copy link
Contributor Author

cicheck

Copy link
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

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

good job, but one more testcase can be added.

std::array<std::string, 2>{"hello ", "hello"},
std::array<std::string, 2>{" hello ", "hello"},
std::array<std::string, 2>{" ", ""},
std::array<std::string, 2>{"", ""},
Copy link
Contributor

Choose a reason for hiding this comment

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

we should add a case for middle space, such as " S3 Browser ", "S3 Browser", the expect trimed string is "S3 Browser".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

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

good

@caoxianfei1
Copy link
Contributor

@Ziy1-Tan squash into one commit.

@aspirer aspirer self-requested a review November 17, 2023 06:47
@aspirer
Copy link
Contributor

aspirer commented Nov 17, 2023

@Ziy1-Tan squash into one commit.

This is not a requirement, it is a suggestion.

@aspirer
Copy link
Contributor

aspirer commented Nov 17, 2023

cicheck

@Ziy1-Tan
Copy link
Contributor Author

cicheck

Signed-off-by: Ziy1-Tan <ajb459684460@gmail.com>
@Ziy1-Tan
Copy link
Contributor Author

cicheck

@aspirer aspirer closed this Nov 20, 2023
@aspirer aspirer reopened this Nov 20, 2023
Copy link
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

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

LGTM~

@caoxianfei1 caoxianfei1 merged commit 0b82af8 into opencurve:master Nov 20, 2023
5 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.

3 participants