Merge "Make the name of CPUInfo type more friendly"

This commit is contained in:
Zuul 2017-11-27 02:36:02 +00:00 committed by Gerrit Code Review
commit 96fd6f109e

View File

@ -73,7 +73,7 @@ class CPUInfo(wtypes.UserType):
"""A type for matching CPU info from hypervisors.""" """A type for matching CPU info from hypervisors."""
basetype = wtypes.text basetype = wtypes.text
name = 'cpuinfo' name = 'cpuinfo as JSON formated str'
@staticmethod @staticmethod
def validate(value): def validate(value):