Added invalid_encryption_key_file error
This commit is contained in:
parent
3d6515bd14
commit
c5b612510d
|
@ -1454,6 +1454,9 @@ void BackupContainerFileSystem::setEncryptionKey(Optional<std::string> const& en
|
|||
encryptionSetupFuture = BackupContainerFileSystemImpl::readEncryptionKey(encryptionKeyFileName.get());
|
||||
}
|
||||
}
|
||||
Future<Void> BackupContainerFileSystem::createTestEncryptionKeyFile(std::string const &filename) {
|
||||
return BackupContainerFileSystemImpl::createTestEncryptionKeyFile(filename);
|
||||
}
|
||||
|
||||
namespace backup_test {
|
||||
|
||||
|
|
|
@ -227,6 +227,7 @@ ERROR( restore_destination_not_empty, 2370, "Attempted to restore into a non-emp
|
|||
ERROR( restore_duplicate_uid, 2371, "Attempted to restore using a UID that had been used for an aborted restore")
|
||||
ERROR( task_invalid_version, 2381, "Invalid task version")
|
||||
ERROR( task_interrupted, 2382, "Task execution stopped due to timeout, abort, or completion by another worker")
|
||||
ERROR( invalid_encryption_key_file, 2383, "The provided encryption key file has invalid contents" )
|
||||
|
||||
ERROR( key_not_found, 2400, "Expected key is missing")
|
||||
ERROR( json_malformed, 2401, "JSON string was malformed")
|
||||
|
|
Loading…
Reference in New Issue