get backup name from restore spec when handling restore DownloadRequests

Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
Steve Kriss
2018-04-09 10:50:10 -07:00
parent a2f5e14a32
commit 0d2b49acce
6 changed files with 76 additions and 62 deletions
+1
View File
@@ -566,6 +566,7 @@ func (s *server) runControllers(config *api.Config) error {
downloadRequestController := controller.NewDownloadRequestController(
s.arkClient.ArkV1(),
s.sharedInformerFactory.Ark().V1().DownloadRequests(),
s.sharedInformerFactory.Ark().V1().Restores(),
s.backupService,
config.BackupStorageProvider.Bucket,
s.logger,