Skip to content

Commit

Permalink
Simplify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarvardt committed Apr 2, 2020
1 parent 1fdb4fe commit 9b40954
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/dumper/query/dumper.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ func (d *textDumper) Dump(done chan<- struct{}, spec *config.Spec, concurrency i
tableConfig := spec.Tables.FindByName(tbl)
if tableConfig == nil {
log.WithField("table", tbl).Debug("no configuration found for table")
}

if tableConfig != nil {
} else {
opts = reader.NewReadTableOpt(tableConfig)
}

Expand Down

0 comments on commit 9b40954

Please sign in to comment.