diff options
author | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2015-08-04 09:58:45 +0900 |
---|---|---|
committer | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2015-09-08 10:36:14 +0900 |
commit | e5f457d66f53281770c0e151b616ca55724676bb (patch) | |
tree | 45046346b51b35258e9402d55902b50a080c17c0 /nova/pci/manager.py | |
parent | d91fb80e51df889ed1bfe50e9e7db0e570598513 (diff) | |
download | nova-e5f457d66f53281770c0e151b616ca55724676bb.tar.gz |
Fix a few typos
adress => address
curent => current
concurent => concurrent
a instance => an instance
optinally => optionally
Change-Id: I08e38d8418c2133475e4631bfaef17e34dd1c5bc
Closes-Bug: #1481123
Diffstat (limited to 'nova/pci/manager.py')
-rw-r--r-- | nova/pci/manager.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nova/pci/manager.py b/nova/pci/manager.py index 4d3eeacaeb..9b0f30efdf 100644 --- a/nova/pci/manager.py +++ b/nova/pci/manager.py @@ -151,9 +151,10 @@ class PciDevTracker(object): # hotplug or config changes. Although normally this should # not happen. - # As the devices have been assigned to a instance, we defer - # the change till the instance is destroyed. We will - # not sync the new properties with database before that. + # As the devices have been assigned to an instance, + # we defer the change till the instance is destroyed. + # We will not sync the new properties with database + # before that. # TODO(yjiang5): Not sure if this is a right policy, but # at least it avoids some confusion and, if needed, @@ -224,7 +225,7 @@ class PciDevTracker(object): self.stats.add_device(dev) def _free_instance(self, instance): - # Note(yjiang5): When a instance is resized, the devices in the + # Note(yjiang5): When an instance is resized, the devices in the # destination node are claimed to the instance in prep_resize stage. # However, the instance contains only allocated devices # information, not the claimed one. So we can't use |