From e5f457d66f53281770c0e151b616ca55724676bb Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Tue, 4 Aug 2015 09:58:45 +0900 Subject: Fix a few typos adress => address curent => current concurent => concurrent a instance => an instance optinally => optionally Change-Id: I08e38d8418c2133475e4631bfaef17e34dd1c5bc Closes-Bug: #1481123 --- nova/pci/manager.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'nova/pci') 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 -- cgit v1.2.1