Skip to content

Commit a338c02

Browse files
committed
Rename Filtering variants completely.
1 parent ace0e61 commit a338c02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

diesel_cli/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ fn run_infer_schema(matches: &ArgMatches) -> Result<(), Box<Error>> {
357357
}
358358

359359
if matches.is_present("only-tables") || matches.is_present("whitelist") {
360-
config.filter = Filtering::Include(filter)
360+
config.filter = Filtering::OnlyTables(filter)
361361
} else if matches.is_present("except-tables") || matches.is_present("blacklist") {
362-
config.filter = Filtering::Exclude(filter)
362+
config.filter = Filtering::ExceptTables(filter)
363363
}
364364

365365
if matches.is_present("with-docs") {

0 commit comments

Comments
 (0)