Skip to content

Commit

Permalink
Merge pull request #369 from weibocom/uuid
Browse files Browse the repository at this point in the history
设置为get操作以记录metric
  • Loading branch information
viciousstar authored Oct 10, 2023
2 parents baba9a9 + 0357847 commit 599bc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/src/uuid/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl Protocol for Uuid {
while let Some(lfcr) = data.find_lf_cr(start) {
let cmd = stream.take(lfcr + 2 - start);
start = lfcr + 2;
let req = HashedCommand::new(cmd, 0, Flag::new());
let req = HashedCommand::new(cmd, 0, Flag::from_op(0, crate::Operation::Get));
process.process(req, true);
}
Ok(())
Expand Down

0 comments on commit 599bc46

Please sign in to comment.