Fix oslo_versionedobjects warnings

This patch set fixes warnings regarding invalid UUIDs and
static_root.

Change-Id: Icb0bbca9c05ee97ea9947a31db5e87b7837e42d0
This commit is contained in:
Alexander Chadin
2018-10-18 19:00:01 +03:00
parent 80754b80cb
commit 62b9282b1e
33 changed files with 244 additions and 192 deletions

View File

@@ -46,7 +46,7 @@ class Volume(storage_resource.StorageResource):
"attachments": wfields.FlexibleListOfDictField(),
"name": wfields.StringField(),
"multiattach": wfields.BooleanField(),
"snapshot_id": wfields.UUIDField(),
"snapshot_id": wfields.UUIDField(nullable=True),
"project_id": wfields.UUIDField(),
"metadata": wfields.JsonField(),
"bootable": wfields.BooleanField()