From e25eb5b60e1db7db85c20c1ff2b7d202853bc495 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 4 Aug 2020 21:31:25 +0100 Subject: added duplicate test cases - ready for differentiation. tests failing --- pkg/datamaps/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/datamaps/writer.go') diff --git a/pkg/datamaps/writer.go b/pkg/datamaps/writer.go index defb656..72a28b3 100644 --- a/pkg/datamaps/writer.go +++ b/pkg/datamaps/writer.go @@ -115,7 +115,7 @@ func CreateMaster(opts *Options) error { } continue } - dmlKey := datamapKeys[masterRow] + dmlKey := datamapKeys[masterRow-1] if sl := r.WriteSlice(append([]string{dmlKey}, values[dmlKey]...), -1); sl == -1 { log.Printf("not a slice type") } -- cgit v1.2.3