Skip to content

Commit

Permalink
refactor(aws): minor semantic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil-prabhu committed Jan 1, 2025
1 parent 189dd80 commit 938e6e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blocking/providers/aws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl Aws {
let client = if let Ok(client) = Client::builder().timeout(timeout).build() {
client
} else {
tracing::error!("Error creating client");
error!("Error creating client");
return false;
};

Expand Down Expand Up @@ -287,7 +287,7 @@ mod tests {

#[test]
fn test_check_product_version_file_success() -> Result<()> {
let mut product_version_file = NamedTempFile::new().unwrap();
let mut product_version_file = NamedTempFile::new()?;
product_version_file.write_all("amazon".as_bytes())?;

let provider = Aws;
Expand Down

0 comments on commit 938e6e1

Please sign in to comment.