Browse Source

Merge "PowerMax Driver - Snapshot restore payload fix" into stable/stein

tags/14.2.1^0
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
5edb3a0b2c
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      cinder/tests/unit/volume/drivers/dell_emc/powermax/test_powermax_rest.py
  2. +0
    -1
      cinder/volume/drivers/dell_emc/powermax/rest.py

+ 0
- 1
cinder/tests/unit/volume/drivers/dell_emc/powermax/test_powermax_rest.py View File

@@ -1066,7 +1066,6 @@ class PowerMaxRestTest(test.TestCase):
'symforce': 'false', 'nocopy': 'false',
'generation': 0}
payload_restore = {'deviceNameListSource': [{'name': source_id}],
'deviceNameListTarget': [{'name': source_id}],
'action': 'Restore',
'star': 'false', 'force': 'false'}
with mock.patch.object(


+ 0
- 1
cinder/volume/drivers/dell_emc/powermax/rest.py View File

@@ -1791,7 +1791,6 @@ class PowerMaxRest(object):
if action == "Restore":
operation = 'Restore snapVx snapshot'
payload = {"deviceNameListSource": [{"name": source_id}],
"deviceNameListTarget": [{"name": source_id}],
"action": action,
"star": 'false', "force": 'false'}
elif action in ('Link', 'Unlink'):


Loading…
Cancel
Save