Skip to content

Commit

Permalink
fix(fs refstore): don't store DatasetPod in refstore
Browse files Browse the repository at this point in the history
  • Loading branch information
b5 committed Nov 9, 2018
1 parent 2caf757 commit 6ab5849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions repo/fs/refstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type Refstore struct {
// PutRef adds a reference to the store
func (n Refstore) PutRef(p repo.DatasetRef) (err error) {
var ds *dataset.Dataset
p.Dataset = nil

if p.ProfileID == "" {
return repo.ErrPeerIDRequired
Expand Down

0 comments on commit 6ab5849

Please sign in to comment.