aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/writer.go
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-09-17 21:01:36 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-09-17 21:01:36 +0100
commitf716fba4012d59dbaa31e1d9c7a0d367944360d2 (patch)
tree231df4db8cb069dbd1828bf546d6d869c2dc72dd /pkg/datamaps/writer.go
parentf12db19eefd04a31b9ac40fdf78146795baa4001 (diff)
removed errant error handler
Diffstat (limited to 'pkg/datamaps/writer.go')
-rw-r--r--pkg/datamaps/writer.go3
1 files changed, 0 insertions, 3 deletions
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