Skip to content

Commit 845feee

Browse files
committed
routing_info -> routing_info_from_prepared_statement
1 parent 7ac1759 commit 845feee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scylla/src/transport/session.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ impl Session {
899899
.as_ref()
900900
.map(|pk| prepared.get_partitioner_name().hash(pk));
901901

902-
let statement_info = self.routing_info(prepared, token);
902+
let statement_info = self.routing_info_for_prepared_statement(prepared, token);
903903

904904
let span =
905905
RequestSpan::new_prepared(partition_key.as_ref(), token, serialized_values.size());
@@ -1825,7 +1825,7 @@ impl Session {
18251825
Some(token) => token,
18261826
None => return Ok(None),
18271827
};
1828-
let routing_info = self.routing_info(prepared, Some(token));
1828+
let routing_info = self.routing_info_for_prepared_statement(prepared, Some(token));
18291829
let cluster_data = self.cluster.get_data();
18301830
let execution_profile = prepared
18311831
.config
@@ -1852,7 +1852,7 @@ impl Session {
18521852
}))
18531853
}
18541854

1855-
fn routing_info<'p>(
1855+
fn routing_info_for_prepared_statement<'p>(
18561856
&self,
18571857
prepared: &'p PreparedStatement,
18581858
token: Option<Token>,

0 commit comments

Comments
 (0)