Corrected some misspellings in magnum
Change-Id: I2cbf5451e110583e25ca649285ea54eb613e9ee6
This commit is contained in:
parent
029242656d
commit
7142ba7d61
@ -1,5 +1,5 @@
|
|||||||
Adminstrator's Guide
|
Administrator's Guide
|
||||||
====================
|
=====================
|
||||||
|
|
||||||
Installation & Operations
|
Installation & Operations
|
||||||
-------------------------
|
-------------------------
|
||||||
|
@ -43,7 +43,7 @@ class BaseModel(object):
|
|||||||
|
|
||||||
|
|
||||||
class EntityModel(BaseModel):
|
class EntityModel(BaseModel):
|
||||||
"""Superclass resposible from converting dict to instance of model"""
|
"""Superclass responsible from converting dict to instance of model"""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, data):
|
def from_dict(cls, data):
|
||||||
@ -55,7 +55,7 @@ class EntityModel(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class CollectionModel(BaseModel):
|
class CollectionModel(BaseModel):
|
||||||
"""Superclass resposible from converting dict to list of models"""
|
"""Superclass responsible from converting dict to list of models"""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, data):
|
def from_dict(cls, data):
|
||||||
|
@ -199,7 +199,7 @@ class TestHandler(db_base.DbTestCase):
|
|||||||
# again, this so bad because we have already called it in setUp
|
# again, this so bad because we have already called it in setUp
|
||||||
# since other test case will share the codes in setUp()
|
# since other test case will share the codes in setUp()
|
||||||
# But in self.handler.cluster_create, we update cluster.uuid and
|
# But in self.handler.cluster_create, we update cluster.uuid and
|
||||||
# cluster.stack_id so cluster.create will create a new recored with
|
# cluster.stack_id so cluster.create will create a new record with
|
||||||
# clustermodel_id None, this is bad because we load clusterModel
|
# clustermodel_id None, this is bad because we load clusterModel
|
||||||
# object in cluster object by clustermodel_id. Here update
|
# object in cluster object by clustermodel_id. Here update
|
||||||
# self.cluster.clustermodel_id so cluster.obj_get_changes will get
|
# self.cluster.clustermodel_id so cluster.obj_get_changes will get
|
||||||
|
Loading…
Reference in New Issue
Block a user