summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Kearney <josh.kearney@rackspace.com>2011-01-05 16:04:16 -0600
committerJosh Kearney <josh.kearney@rackspace.com>2011-01-05 16:04:16 -0600
commit11d5e914044583882384ffd462991ef4f678b28e (patch)
tree6110661c695d7ba70e3444485b84eea01d49db54
parent472af7e750f369e3b999d2b1ac48f74369975ba6 (diff)
downloadnova-11d5e914044583882384ffd462991ef4f678b28e.tar.gz
nova-11d5e914044583882384ffd462991ef4f678b28e.tar.xz
nova-11d5e914044583882384ffd462991ef4f678b28e.zip
Updated register_models() docstring
-rw-r--r--nova/db/sqlalchemy/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/db/sqlalchemy/models.py b/nova/db/sqlalchemy/models.py
index 0c9c387fc..6367d1ff8 100644
--- a/nova/db/sqlalchemy/models.py
+++ b/nova/db/sqlalchemy/models.py
@@ -545,7 +545,8 @@ def register_models():
"""Register Models and create metadata.
Called from nova.db.sqlalchemy.__init__ as part of loading the driver,
- it will never need to be called explicitly elsewhere.
+ it will never need to be called explicitly elsewhere unless the
+ connection is lost and needs to be reestablished.
"""
from sqlalchemy import create_engine
models = (Service, Instance, InstanceActions,