Merge "Fix: incremental volume backup"
This commit is contained in:
commit
a6dcb773f1
@ -120,7 +120,7 @@ class TestBackupCreate(TestBackup):
|
||||
name=self.new_backup.name,
|
||||
description=self.new_backup.description,
|
||||
force=True,
|
||||
incremental=True,
|
||||
is_incremental=True,
|
||||
snapshot_id=self.new_backup.snapshot_id,
|
||||
)
|
||||
self.assertEqual(self.columns, columns)
|
||||
@ -150,7 +150,7 @@ class TestBackupCreate(TestBackup):
|
||||
name=None,
|
||||
description=None,
|
||||
force=False,
|
||||
incremental=False,
|
||||
is_incremental=False,
|
||||
metadata={"foo": "bar", "wow": "much-cool"},
|
||||
)
|
||||
self.assertEqual(self.columns, columns)
|
||||
@ -199,7 +199,7 @@ class TestBackupCreate(TestBackup):
|
||||
name=None,
|
||||
description=None,
|
||||
force=False,
|
||||
incremental=False,
|
||||
is_incremental=False,
|
||||
availability_zone="my-az",
|
||||
)
|
||||
self.assertEqual(self.columns, columns)
|
||||
@ -247,7 +247,7 @@ class TestBackupCreate(TestBackup):
|
||||
name=None,
|
||||
description=self.new_backup.description,
|
||||
force=False,
|
||||
incremental=False,
|
||||
is_incremental=False,
|
||||
)
|
||||
self.assertEqual(self.columns, columns)
|
||||
self.assertEqual(self.data, data)
|
||||
|
@ -173,7 +173,7 @@ class CreateVolumeBackup(command.ShowOne):
|
||||
name=parsed_args.name,
|
||||
description=parsed_args.description,
|
||||
force=parsed_args.force,
|
||||
incremental=parsed_args.incremental,
|
||||
is_incremental=parsed_args.incremental,
|
||||
**kwargs,
|
||||
)
|
||||
data = utils.get_dict_properties(backup, columns)
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed issue with creating incremental volume backup.
|
||||
Previously, ``incremental`` value was not passed in the
|
||||
API request which is now included in the backup
|
||||
create request.
|
Loading…
x
Reference in New Issue
Block a user