Skip to content

Commit

Permalink
[dataprotection] Bug fix - missing parameter when calling `initialize…
Browse files Browse the repository at this point in the history
…-for-data-recovery` (#7883)

* Fix for data recovery init where we did not account for vaulted blob prefix definition changing.

* Updated version

---------

Co-authored-by: Zubair Abid <[email protected]>
  • Loading branch information
zubairabid and Zubair Abid authored Aug 14, 2024
1 parent 3a1a939 commit 3608723
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/dataprotection/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Release History
===============
1.5.3
+++++
* `az dataprotection backup-instance initialize-for-data-recovery`: Fixed a bug when trying to initialize AKS restore.

1.5.2
+++++
* Added support for multi-user authentication for dataprotection policy updates
Expand Down
2 changes: 1 addition & 1 deletion src/dataprotection/azext_dataprotection/manual/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ def restore_initialize_for_data_recovery(cmd, datasource_type, source_datastore,
if datasource_type == 'AzureKubernetesService':
restore_request["restore_target_info"]["object_type"] = "ItemLevelRestoreTargetInfo"
restore_request["restore_target_info"]["restore_criteria"] = helper.get_resource_criteria_list(datasource_type, restore_configuration,
None, None, None, None)
None, None, None, None, None)

return restore_request

Expand Down
2 changes: 1 addition & 1 deletion src/dataprotection/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from setuptools import setup, find_packages

# HISTORY.rst entry.
VERSION = '1.5.2'
VERSION = '1.5.3'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down

0 comments on commit 3608723

Please sign in to comment.