~ubuntu-branches/ubuntu/trusty/heat/trusty-security

« back to all changes in this revision

Viewing changes to bin/heat-api-cfn

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-09-08 21:51:19 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20130908215119-7tcek6gn73275x5k
Tags: upstream-2013.2~b3
ImportĀ upstreamĀ versionĀ 2013.2~b3

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
        app = config.load_paste_app()
60
60
 
61
 
        port = cfg.CONF.bind_port
62
 
        host = cfg.CONF.bind_host
 
61
        port = cfg.CONF.heat_api_cfn.bind_port
 
62
        host = cfg.CONF.heat_api_cfn.bind_host
63
63
        LOG.info('Starting Heat API on %s:%s' % (host, port))
64
64
        server = wsgi.Server()
65
 
        server.start(app, cfg.CONF, default_port=port)
 
65
        server.start(app, cfg.CONF.heat_api_cfn, default_port=port)
66
66
        server.wait()
67
67
    except RuntimeError as e:
68
68
        sys.exit("ERROR: %s" % e)