Skip to content

Commit b32bb0b

Browse files
authored
Merge pull request #410 from JuliaRobotics/hotfix/2Q20/adddata
add datastore (oops)
2 parents a37d004 + 397467c commit b32bb0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BigData/services/AbstractBigDataEntries.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Should be extended if DFG variable is not returned by reference.
4444
"""
4545
function addDataEntry!(dfg::AbstractDFG,
4646
lbl::Symbol,
47+
datastore::Union{FileDataStore, InMemoryDataStore},
4748
descr::Symbol,
4849
mimeType::AbstractString,
4950
data::Vector{UInt8} )
@@ -52,7 +53,7 @@ function addDataEntry!(dfg::AbstractDFG,
5253
# Make a big data entry in the graph - use JSON2 to just write this
5354
element = GeneralBigDataEntry(dfg, node, descr, mimeType=mimeType)
5455
# Set it in the store
55-
addBigData!(fec.datastore, element, data)
56+
addBigData!(datastore, element, data)
5657
# Add the entry to the graph
5758
addBigDataEntry!(node, element)
5859
end

0 commit comments

Comments
 (0)