Change datasource mapping to use the old state vs the new state

This commit is contained in:
Tomaž Jerman
2023-03-17 10:58:46 +01:00
parent eb63f41a44
commit b975b2b56a
+1 -1
View File
@@ -57,7 +57,7 @@ func (rd *RecordDatasource) Next(ctx context.Context, out map[string]string) (id
rd.applyMapping(rd.rowCache, out)
for _, k := range rd.mapping.KeyField {
ident = append(ident, out[k])
ident = append(ident, rd.rowCache[k])
}
return