mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 11:45:20 +00:00
Reduces ~140 indirect imports for plugin/framework importers (#8208)
* Avoid plugin framework importers from needing cloud provider imports Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
This commit is contained in:
@@ -28,8 +28,8 @@ import (
|
||||
ctrl "sigs.k8s.io/controller-runtime"
|
||||
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository"
|
||||
repomokes "github.com/vmware-tanzu/velero/pkg/repository/mocks"
|
||||
repotypes "github.com/vmware-tanzu/velero/pkg/repository/types"
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
|
||||
clientFake "sigs.k8s.io/controller-runtime/pkg/client/fake"
|
||||
@@ -210,7 +210,7 @@ func TestBackupRepoReconcile(t *testing.T) {
|
||||
func TestGetRepositoryMaintenanceFrequency(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
mgr repository.Manager
|
||||
mgr repotypes.SnapshotIdentifier
|
||||
repo *velerov1api.BackupRepository
|
||||
freqReturn time.Duration
|
||||
freqError error
|
||||
|
||||
Reference in New Issue
Block a user