From f716fba4012d59dbaa31e1d9c7a0d367944360d2 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 17 Sep 2020 21:01:36 +0100 Subject: removed errant error handler --- pkg/datamaps/writer.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'pkg/datamaps') diff --git a/pkg/datamaps/writer.go b/pkg/datamaps/writer.go index 9595132..9e7973f 100644 --- a/pkg/datamaps/writer.go +++ b/pkg/datamaps/writer.go @@ -63,9 +63,6 @@ func CreateMaster(opts *Options) error { var rowCount int64 rowCountRes := db.QueryRow(sqlCount, opts.DMName, opts.ReturnName) - if err != nil { - return fmt.Errorf("cannot query for row count of return data - %v", err) - } if err := rowCountRes.Scan(&rowCount); err != nil { return err -- cgit v1.2.3