diff options
| author | Joshua Harlow <jxharlow@godaddy.com> | 2016-06-08 17:50:39 -0700 |
|---|---|---|
| committer | Joshua Harlow <jxharlow@godaddy.com> | 2016-06-08 17:50:39 -0700 |
| commit | a45dc94e8c7daabc8c7fcce954731e3c4dd8e987 (patch) | |
| tree | 897590eb0daf5faa009e2d3acf9a50057f095d54 | |
| parent | 479862932c2db33b789682d2042d0a283abcccd0 (diff) | |
| download | kolla-a45dc94e8c7daabc8c7fcce954731e3c4dd8e987.tar.gz kolla-a45dc94e8c7daabc8c7fcce954731e3c4dd8e987.zip | |
Use 'image' not 'item'
The things in self.images are images, not items so
reflect these to use the shared 'image' name vs
having a one-off that uses 'item'.
TrivalFix
Change-Id: I781514d3e116de32b4fe61a7f55455282680fec1
| -rwxr-xr-x | kolla/image/build.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py index 40601f0e8..7dc7c7629 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -809,15 +809,15 @@ class KollaWorker(object): def list_children(images, ancestry): children = ancestry.values()[0] - for item in images: - if item.status not in [STATUS_MATCHED]: + for image in images: + if image.status not in [STATUS_MATCHED]: continue - if not item.children: - children.append(item.name) + if not image.children: + children.append(image.name) else: - newparent = {item.name: []} + newparent = {image.name: []} children.append(newparent) - list_children(item.children, newparent) + list_children(image.children, newparent) ancestry = {base.name: []} list_children(base.children, ancestry) |
