Skip to content

Commit e659314

Browse files
committed
SchemaAgreementEror: Note about mistake in name
1 parent 36be792 commit e659314

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scylla/src/errors.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ pub enum SchemaAgreementError {
209209
RequestError(#[from] RequestAttemptError),
210210

211211
/// Failed to convert schema version query result into rows result.
212+
///
213+
/// This variant should be named `SchemaVersionIntoRowsResultError`, current name
214+
/// is a copy-paste error. It will be renamed in 2.0
215+
//TODO(2.0): Rename to `SchemaVersionIntoRowsResultError`
212216
#[error("Failed to convert schema version query result into rows result: {0}")]
213217
TracesEventsIntoRowsResultError(IntoRowsResultError),
214218

0 commit comments

Comments
 (0)