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
This commit is contained in:
parent
30d3c0917c
commit
3994d399ab
@ -90,9 +90,9 @@ class Container(base.ZunPersistentObject, base.ZunObject,
|
|||||||
:param context: Security context
|
:param context: Security context
|
||||||
:returns: a :class:`Container` object.
|
:returns: a :class:`Container` object.
|
||||||
"""
|
"""
|
||||||
db_bay = cls.dbapi.get_container_by_name(context, name)
|
db_container = cls.dbapi.get_container_by_name(context, name)
|
||||||
bay = Container._from_db_object(cls(context), db_bay)
|
container = Container._from_db_object(cls(context), db_container)
|
||||||
return bay
|
return container
|
||||||
|
|
||||||
@base.remotable_classmethod
|
@base.remotable_classmethod
|
||||||
def list(cls, context, limit=None, marker=None,
|
def list(cls, context, limit=None, marker=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user