Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Commit

Permalink
the return signature has changed. ref upstream PR 647
Browse files Browse the repository at this point in the history
Signed-off-by: kmova <[email protected]>
  • Loading branch information
kmova committed Jul 18, 2018
1 parent 4081901 commit 680bde9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions snapshot/pkg/volume/openebs/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,7 @@ func (h *openEBSPlugin) FindSnapshot(tags *map[string]string) (*crdv1.VolumeSnap
glog.Infof("FindSnapshot by tags: %#v", *tags)

// TODO: Implement FindSnapshot
return &crdv1.VolumeSnapshotDataSource{
OpenEBSSnapshot: &crdv1.OpenEBSVolumeSnapshotSource{
SnapshotID: "",
},
}, nil, nil
return nil, nil, fmt.Errorf("Snapshot not found")
}

// SnapshotRestore restore to any created snapshot
Expand Down

0 comments on commit 680bde9

Please sign in to comment.