diff --git a/cinder/tests/unit/test_synology_common.py b/cinder/tests/unit/test_synology_common.py index 4bbb6e7285c..9dce909f73f 100644 --- a/cinder/tests/unit/test_synology_common.py +++ b/cinder/tests/unit/test_synology_common.py @@ -1426,7 +1426,7 @@ class SynoCommonTestCase(test.TestCase): 'delete_snapshot', mock.ANY, snapshot_uuid=DS_SNAPSHOT_UUID, - delete_by='Cinder')) + deleted_by='Cinder')) self.assertIsNone(result) result = self.common.delete_snapshot(SNAPSHOT) diff --git a/cinder/volume/drivers/synology/synology_common.py b/cinder/volume/drivers/synology/synology_common.py index 7f6475ced84..23f01ee4b4a 100644 --- a/cinder/volume/drivers/synology/synology_common.py +++ b/cinder/volume/drivers/synology/synology_common.py @@ -1116,7 +1116,7 @@ class SynoCommon(object): 'delete_snapshot', 1, snapshot_uuid=ds_snapshot_uuid, - delete_by='Cinder') + deleted_by='Cinder') self.check_response(out, snapshot_id=snapshot['id'])