Skip to content

Commit

Permalink
fix: Set user agent always
Browse files Browse the repository at this point in the history
  • Loading branch information
donatello committed Sep 27, 2023
1 parent e9aea2a commit e414e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/s3/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ impl ClientBuilder {

if let Some((app_name, app_version)) = self.app_info {
user_agent.push_str(format!(" {app_name}/{app_version}").as_str());
builder = builder.user_agent(user_agent);
}
builder = builder.user_agent(user_agent);

if let Some(v) = self.ignore_cert_check {
builder = builder.danger_accept_invalid_certs(v);
Expand Down

0 comments on commit e414e3b

Please sign in to comment.