backup sync: process the default location first

Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
Steve Kriss
2018-08-28 13:19:21 -07:00
parent 7a1e6d16cc
commit 133dc185ca
4 changed files with 10 additions and 0 deletions
@@ -176,6 +176,7 @@ func TestBackupSyncControllerRun(t *testing.T) {
sharedInformers.Ark().V1().BackupStorageLocations(),
time.Duration(0),
test.namespace,
"",
nil, // pluginRegistry
arktest.NewLogger(),
logrus.DebugLevel,
@@ -341,6 +342,7 @@ func TestDeleteOrphanedBackups(t *testing.T) {
sharedInformers.Ark().V1().BackupStorageLocations(),
time.Duration(0),
test.namespace,
"",
nil, // pluginRegistry
arktest.NewLogger(),
logrus.InfoLevel,