diff options
author | hgangwx <hgangwx@cn.ibm.com> | 2015-12-26 21:01:14 +0800 |
---|---|---|
committer | hgangwx <hgangwx@cn.ibm.com> | 2015-12-26 21:03:56 +0800 |
commit | c1a2f49c112cba1b2c58087aabbfb33a8b2a0dd5 (patch) | |
tree | 2754baaf5e3a01039f3927b1b1e82b3e3606d1a3 /nova/pci | |
parent | 2cc2e708bc6ce6367a49a1434164bf633a61cd1b (diff) | |
download | nova-c1a2f49c112cba1b2c58087aabbfb33a8b2a0dd5.tar.gz |
Wrong usage of "a"
Wrong usage of "a" in the mesages:
"lookup the instance after a instance_destroy_at_top hits"
"returns the PCI address of a an device"
"will result in a additional lookup to glance for said attr"
"This will ensure that a image is not deleted during the spawn"
"Lock to ensure that the spawn will not try and access a image"
"cleanup the _events_delayed dictionary when a event"
"it will raise a exception.NovaException"
"we need to allocate a ephemeral disk if required"
"this may be a endless loop, so check the id of"
Should be:
"lookup the instance after an instance_destroy_at_top hits"
"returns the PCI address of a device"
"will result in an additional lookup to glance for said attr"
"This will ensure that an image is not deleted during the spawn"
"Lock to ensure that the spawn will not try and access an image"
"cleanup the _events_delayed dictionary when an event"
"it will raise an exception.NovaException"
"we need to allocate an ephemeral disk if required"
"this may be an endless loop, so check the id of"
Totally 10 occasions in Nova base code.
Change-Id: I5d5d2d08ea2dbeba519adba73139061702233f7a
Diffstat (limited to 'nova/pci')
-rw-r--r-- | nova/pci/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/pci/utils.py b/nova/pci/utils.py index 86ebd10bd7..8b9d55ffcb 100644 --- a/nova/pci/utils.py +++ b/nova/pci/utils.py @@ -71,7 +71,7 @@ def get_pci_address_fields(pci_addr): def get_function_by_ifname(ifname): - """Given the device name, returns the PCI address of a an device + """Given the device name, returns the PCI address of a device and returns True if the address in a physical function. """ try: |