aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/writer.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/datamaps/writer.go')
-rw-r--r--pkg/datamaps/writer.go2
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")