Remove unnecessary model init call
there is no need to model.init with versioned objects. Change-Id: I7c13ab7c34f1dcfd351fbd29be032477aff6e13achanges/28/138328/7
parent
6df4c09281
commit
07359cbf55
|
@ -15,7 +15,6 @@ import pecan
|
|||
|
||||
from magnum.api import auth
|
||||
from magnum.api import config as api_config
|
||||
from magnum.api import model
|
||||
|
||||
# Register options for the service
|
||||
API_SERVICE_OPTS = [
|
||||
|
@ -48,7 +47,6 @@ def setup_app(config=None):
|
|||
if not config:
|
||||
config = get_pecan_config()
|
||||
|
||||
model.init_model()
|
||||
app_conf = dict(config.app)
|
||||
|
||||
app = pecan.make_app(
|
||||
|
|
Loading…
Reference in New Issue