Skip to content

Commit

Permalink
Fix new lints in upcoming release (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored Nov 1, 2022
1 parent 5a833bc commit a11207f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shotover-proxy/tests/codec/util/packet_capture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl PacketCapture {
}

pub fn save_to_file(&mut self, mut cap_handle: Capture<Active>, file_name: &str) {
match cap_handle.savefile(&file_name) {
match cap_handle.savefile(file_name) {
Ok(mut file) => {
while let Ok(packet) = cap_handle.next_packet() {
file.write(&packet);
Expand Down
2 changes: 1 addition & 1 deletion shotover-proxy/tests/redis_int_tests/basic_driver_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ async fn get_master_id(connection: &mut Connection) -> String {
async fn is_cluster_replicas_ready(connection: &mut Connection, master_id: &str) -> bool {
let res = redis::cmd("CLUSTER")
.arg("REPLICAS")
.arg(&master_id)
.arg(master_id)
.query_async(connection)
.await
.unwrap();
Expand Down

0 comments on commit a11207f

Please sign in to comment.