Skip to content

Commit

Permalink
compile error fix
Browse files Browse the repository at this point in the history
Signed-off-by: tonyxuqqi <tonyxuqi@outlook.com>
  • Loading branch information
tonyxuqqi committed Nov 13, 2022
1 parent ae97038 commit b681af6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ fn test_config_change_and_apply_snapshot() {

let tablet_factory = cluster.node(0).tablet_factory();
let tablet = tablet_factory
.open_tablet(2, None, OpenOptions::qdefault().set_cache_only(true))
.open_tablet(2, None, OpenOptions::default().set_cache_only(true))
.unwrap();
assert!(tablet.get_value(b"key").unwrap().is_none());
let (msg, mut sub) = PeerMsg::raft_command(req.clone());
Expand Down

0 comments on commit b681af6

Please sign in to comment.