Browse Source

Merge "Allow extra parameters in volume_type_encryption"

Zuul 9 months ago
parent
commit
a3666e9a40
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      cinder/api/schemas/volume_type_encryption.py

+ 2
- 4
cinder/api/schemas/volume_type_encryption.py View File

@@ -13,10 +13,8 @@
13 13
 #    License for the specific language governing permissions and limitations
14 14
 #    under the License.
15 15
 
16
-"""
17
-Schema for V3 volume type encryption API.
16
+"""Schema for V3 volume type encryption API."""
18 17
 
19
-"""
20 18
 import copy
21 19
 
22 20
 from cinder.api.validation import parameter_types
@@ -35,7 +33,7 @@ create = {
35 33
                            'minLength': 0, 'maxLength': 255},
36 34
             },
37 35
             'required': ['provider', 'control_location'],
38
-            'additionalProperties': False,
36
+            'additionalProperties': True,
39 37
         },
40 38
     },
41 39
     'required': ['encryption'],

Loading…
Cancel
Save