Browse Source

Merge "Fix typo in sriov.numvfs 9.2 migration"

Jenkins 2 years ago
parent
commit
0cabf795b5

+ 1
- 1
nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_9_2.py View File

@@ -188,7 +188,7 @@ DEFAULT_RELEASE_NIC_NFV_ATTRIBUTES = {
188 188
     'sriov': {
189 189
         'numvfs': {'min': 1, 'type': 'number', 'value': None, 'nullable': True,
190 190
                    'weight': 20, 'label': 'Custom Number of Virtual Functions',
191
-                   'restrictions': ['"nic_attributes:sriov.enabled.value == "'
191
+                   'restrictions': ['nic_attributes:sriov.enabled.value == "'
192 192
                                     'false"']
193 193
                    },
194 194
         'enabled': {'type': 'checkbox', 'value': False,

+ 1
- 1
nailgun/nailgun/test/unit/test_migration_fuel_9_2.py View File

@@ -98,7 +98,7 @@ DEFAULT_NIC_ATTRIBUTES = {
98 98
     'sriov': {
99 99
         'numvfs': {'min': 1, 'type': 'number', 'value': None, 'nullable': True,
100 100
                    'weight': 20, 'label': 'Custom Number of Virtual Functions',
101
-                   'restrictions': ['"nic_attributes:sriov.enabled.value == "'
101
+                   'restrictions': ['nic_attributes:sriov.enabled.value == "'
102 102
                                     'false"']
103 103
                    },
104 104
         'enabled': {'type': 'checkbox', 'value': False,

Loading…
Cancel
Save