Minor change in backup function (#9370)

* Minor change in backup function

* Minor change in backup function
This commit is contained in:
Milan Bariya 2022-12-17 17:43:28 +05:30 committed by GitHub
parent f9e48f0ca0
commit e1d347c714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ def run_backup(
)
if upload:
if upload_destination_type.title() == UploadDestinationType.AWS.value:
if upload_destination_type == UploadDestinationType.AWS.value:
endpoint, bucket, key = upload
upload_backup_aws(endpoint, bucket, key, out)
elif upload_destination_type.title() == UploadDestinationType.AZURE.value: