From 3994d399ab3dbaf85ebbeaf339dfed223cafd204 Mon Sep 17 00:00:00 2001 From: "shubham.git" Date: Wed, 31 Aug 2016 21:34:59 +0530 Subject: [PATCH] Remove bay reference from zun/objects/container.py Variable in file zun/objects/container.py still has bay in its name. This patch changes the variable name appropriately. Change-Id: Ideceae1048aaf198647bd2ef8f1b0e23afe856e8 --- zun/objects/container.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zun/objects/container.py b/zun/objects/container.py index eeca17b56..8e50c5925 100644 --- a/zun/objects/container.py +++ b/zun/objects/container.py @@ -90,9 +90,9 @@ class Container(base.ZunPersistentObject, base.ZunObject, :param context: Security context :returns: a :class:`Container` object. """ - db_bay = cls.dbapi.get_container_by_name(context, name) - bay = Container._from_db_object(cls(context), db_bay) - return bay + db_container = cls.dbapi.get_container_by_name(context, name) + container = Container._from_db_object(cls(context), db_container) + return container @base.remotable_classmethod def list(cls, context, limit=None, marker=None,