diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-08-04 21:31:25 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-08-04 21:31:25 +0100 |
commit | e25eb5b60e1db7db85c20c1ff2b7d202853bc495 (patch) | |
tree | 96ee02beb0b2756f481554b1c660105059d9b727 /pkg/datamaps/writer.go | |
parent | 6873689e6bba424e57f86ecf09f7ab073893100f (diff) |
added duplicate test cases - ready for differentiation. tests failing
Diffstat (limited to 'pkg/datamaps/writer.go')
-rw-r--r-- | pkg/datamaps/writer.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") } |