Merge "Use flavor instead of flavour"
This commit is contained in:
commit
201090b0bc
@ -1214,7 +1214,7 @@ class API(base.Base):
|
||||
@staticmethod
|
||||
def _volume_size(instance_type, bdm):
|
||||
size = bdm.get('volume_size')
|
||||
# NOTE (ndipanov): inherit flavour size only for swap and ephemeral
|
||||
# NOTE (ndipanov): inherit flavor size only for swap and ephemeral
|
||||
if (size is None and bdm.get('source_type') == 'blank' and
|
||||
bdm.get('destination_type') == 'local'):
|
||||
if bdm.get('guest_format') == 'swap':
|
||||
|
@ -166,7 +166,7 @@ def get_number_of_serial_ports(flavor, image_meta):
|
||||
:param image_meta: nova.objects.ImageMeta object instance
|
||||
|
||||
If flavor extra specs is not set, then any image meta value is permitted.
|
||||
If flavour extra specs *is* set, then this provides the default serial
|
||||
If flavor extra specs *is* set, then this provides the default serial
|
||||
port count. The image meta is permitted to override the extra specs, but
|
||||
*only* with a lower value. ie
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user