Skip to content

Commit

Permalink
fix ref name
Browse files Browse the repository at this point in the history
  • Loading branch information
Xin Huang committed Feb 13, 2024
1 parent b327782 commit 25c0eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/space/core/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def _add_reference(self,

new_metadata = meta.StorageMetadata()
new_metadata.CopyFrom(self._metadata)
ref = meta.SnapshotReference(ref_name=ref_name,
ref = meta.SnapshotReference(reference_name=ref_name,
snapshot_id=snapshot_id,
type=ref_type)
new_metadata.refs[ref_name].CopyFrom(ref)
Expand Down

0 comments on commit 25c0eb0

Please sign in to comment.