Skip to content

Commit

Permalink
Merge 33b8d16 into f3a07f1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed Aug 1, 2018
2 parents f3a07f1 + 33b8d16 commit 66e27f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datacube/index/hl.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from types import SimpleNamespace

from datacube.model import Dataset
from datacube.utils import changes, InvalidDocException, SimpleDocNav
from datacube.utils import changes, InvalidDocException, SimpleDocNav, jsonify_document
from datacube.model.utils import dedup_lineage, remap_lineage_doc, flatten_datasets
from datacube.utils.changes import get_doc_changes

Expand Down Expand Up @@ -152,7 +152,7 @@ def resolve(main_ds, uri):

for uuid in lineage_uuids:
if uuid in db_dss:
ok, err = check_consistent(ds_by_uuid[uuid].doc_without_lineage_sources,
ok, err = check_consistent(jsonify_document(ds_by_uuid[uuid].doc_without_lineage_sources),
db_dss[uuid].metadata_doc)
if not ok:
bad_lineage.append((uuid, err))
Expand Down

0 comments on commit 66e27f1

Please sign in to comment.