Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Dec 22, 2023
1 parent 7a3b106 commit 077ad4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus/analyzer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ impl<'a> StatementAnalyzer for PeerDDLAnalyzer<'a> {
initial_copy_only,
};

if initial_copy_only == true && do_initial_copy == false {
if initial_copy_only && !do_initial_copy {
anyhow::bail!("initial_copy_only is set to true, but do_initial_copy is set to false");
}

Expand Down

0 comments on commit 077ad4e

Please sign in to comment.