diff options
-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 e1cb713..144ae4d 100644 --- a/pkg/datamaps/writer.go +++ b/pkg/datamaps/writer.go @@ -121,7 +121,7 @@ func ExportMaster(opts *Options) error { log.Fatal(err) } dmlKey := datamapKeys[masterRow-1] - if sl := r.WriteSlice(values[dmlKey], -1); sl == -1 { + if sl := r.WriteSlice(append([]string{dmlKey}, values[dmlKey]...), -1); sl == -1 { log.Printf("not a slice type") } log.Printf("writing slice to row\n") |