Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amigin committed Nov 24, 2024
1 parent 001a842 commit 76a84b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/http_clients_cache/https.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl HttpClientResolver<TlsStream<TcpStream>, HttpsConnector> for HttpClientsCac
let remote_endpoint = url_builder.get_remote_endpoint();
let hash_map_key = get_https_key(remote_endpoint);
let mut write_access = self.inner.write().await;
write_access.http.remove(hash_map_key.as_str());
write_access.https.remove(hash_map_key.as_str());
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/http_clients_cache/ssh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl HttpClientResolver<my_ssh::SshAsyncChannel, SshHttpConnector> for HttpClien
let ssh_credentials = ssh_credentials.unwrap();
let hash_map_key = get_ssh_key(ssh_credentials, remote_endpoint);
let mut write_access = self.inner.write().await;
write_access.http.remove(hash_map_key.as_str());
write_access.ssh.remove(hash_map_key.as_str());
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/http_clients_cache/unix_socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl HttpClientResolver<UnixSocketStream, UnixSocketConnector> for HttpClientsCa
let remote_endpoint = url_builder.get_remote_endpoint();
let hash_map_key = get_unix_socket_key(remote_endpoint);
let mut write_access = self.inner.write().await;
write_access.http.remove(hash_map_key.as_str());
write_access.unix_socket.remove(hash_map_key.as_str());
}
}

Expand Down

0 comments on commit 76a84b7

Please sign in to comment.