Skip to content

Commit

Permalink
Add new constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
chengw-netflix committed Jul 25, 2023
1 parent cc9665f commit 4a4dfc8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
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 4a4dfc8

Please sign in to comment.