diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/res/resources/serializers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res/resources/serializers.py b/res/res/resources/serializers.py index ab3074b..bcfdc7e 100644 --- a/res/res/resources/serializers.py +++ b/res/res/resources/serializers.py @@ -19,7 +19,7 @@ class VmResponseSerializer(serializers.Serializer): vmid = serializers.CharField(help_text="vmid", required=True) vimid = serializers.CharField(help_text="the vim id", required=True) resouceid = serializers.CharField(help_text="the resouce id", required=True) - tenant = serializers.IntegerField(help_text="tenant", required=True, allow_null=True) + tenant = serializers.CharField(help_text="tenant", required=True, allow_null=True) instid = serializers.CharField(help_text="the inst id", required=True) vmname = serializers.CharField(help_text="vmname", required=True) insttype = serializers.IntegerField(help_text="insttype", required=True) @@ -42,7 +42,7 @@ class FlavorResponseSerializer(serializers.Serializer): flavourid = serializers.CharField(help_text="flavourid", required=True) vimid = serializers.CharField(help_text="the vim id", required=True) resouceid = serializers.CharField(help_text="the resouce id", required=True) - tenant = serializers.IntegerField(help_text="tenant", required=True, allow_null=True) + tenant = serializers.CharField(help_text="tenant", required=True, allow_null=True) instid = serializers.CharField(help_text="the inst id", required=True) name = serializers.CharField(help_text="name", required=True) extraspecs = serializers.CharField(help_text="extraspecs", required=True) |