remove VolumeBackupInfo from API pkg (#1388)

Signed-off-by: Steve Kriss <krisss@vmware.com>
This commit is contained in:
Steve Kriss
2019-04-24 14:16:03 -06:00
committed by KubeKween
parent dcd663b8cf
commit 3155bb159f
5 changed files with 24 additions and 61 deletions

View File

@@ -654,7 +654,7 @@ func TestRestoreResourceForNamespace(t *testing.T) {
pvRestorer: &pvRestorer{
logger: logging.DefaultLogger(logrus.DebugLevel),
volumeSnapshotterGetter: &fakeVolumeSnapshotterGetter{
volumeMap: map[api.VolumeBackupInfo]string{{SnapshotID: "snap-1"}: "volume-1"},
volumeMap: map[velerotest.VolumeBackupInfo]string{{SnapshotID: "snap-1"}: "volume-1"},
volumeID: "volume-1",
},
snapshotLocationLister: snapshotLocationLister,
@@ -1786,7 +1786,7 @@ type fakeAction struct {
type fakeVolumeSnapshotterGetter struct {
fakeVolumeSnapshotter *velerotest.FakeVolumeSnapshotter
volumeMap map[api.VolumeBackupInfo]string
volumeMap map[velerotest.VolumeBackupInfo]string
volumeID string
}