Skip to content

Commit

Permalink
Bug in storage driver resolution for backup upload
Browse files Browse the repository at this point in the history
The switch for the createStorageDriver call in StorageDriverFactory was missing the case for the backup upload task type.

Fixes mesosphere-backup#446
  • Loading branch information
rozele committed Jul 11, 2017
1 parent bc4639c commit f094fb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class StorageDriverFactory {
public static BackupStorageDriver createStorageDriver(CassandraTask cassandraTask) {
String externalLocation = null;
switch (cassandraTask.getType()) {
case BACKUP_SNAPSHOT:
case BACKUP_UPLOAD:
externalLocation = ((BackupUploadTask)cassandraTask).getBackupRestoreContext().getExternalLocation();
break;
case BACKUP_SCHEMA:
Expand Down

0 comments on commit f094fb4

Please sign in to comment.