Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ pub fn verify_type(key_inner: *mut raw::RedisModuleKey, redis_type: &RedisType)
let raw_type = unsafe { raw::RedisModule_ModuleTypeGetType.unwrap()(key_inner) };

if raw_type != *redis_type.raw_type.borrow() {
return Err(RedisError::Str("Existing key has wrong Redis type"));
return Err(RedisError::Str("ERR Existing key has wrong Redis type"));
}
}

Expand Down