Skip to content

Commit

Permalink
Add new constructor (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
chengw-netflix committed Jul 25, 2023
1 parent cc9665f commit 87ce43b
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -30,6 +30,10 @@ public BackupFileSystemContext(
this.encryptedFs = encryptedFs;
}

public BackupFileSystemContext(@Named("backup") IBackupFileSystem fs) {
this.fs = fs;
}

public IBackupFileSystem getFileStrategy(IConfiguration config) {

if (!config.isEncryptBackupEnabled()) {
Expand Down

0 comments on commit 87ce43b

Please sign in to comment.