This commit is contained in:
Daniel Ledda
2020-11-04 18:55:30 +01:00
parent 0444f3633b
commit e16700d1de

View File

@@ -65,7 +65,7 @@ func getSnapshotRecordsFromDb(rowCount int) ([]*SnapshotRecord, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
snapshots = append(snapshots, &snapshotRecord) snapshots[i] = &snapshotRecord
} }
return snapshots, nil return snapshots, nil
} }