unify REST word

Representational State Transfer, by official definition the abbreviation
should be *REST* not *ReST*. We should make it unified.

Change-Id: Ia1e5c5145ab0db22fd9ff1393bf507648a31112b
This commit is contained in:
ricolin 2015-08-26 09:33:17 +08:00
parent 1db54fd3de
commit 2251af415b
4 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@
# under the License. # under the License.
""" """
Heat API Server. An OpenStack ReST API to Heat. Heat API Server. An OpenStack REST API to Heat.
""" """
import eventlet import eventlet
@ -60,7 +60,7 @@ if __name__ == '__main__':
port = cfg.CONF.heat_api.bind_port port = cfg.CONF.heat_api.bind_port
host = cfg.CONF.heat_api.bind_host host = cfg.CONF.heat_api.bind_host
LOG.info(_LI('Starting Heat ReST API on %(host)s:%(port)s'), LOG.info(_LI('Starting Heat REST API on %(host)s:%(port)s'),
{'host': host, 'port': port}) {'host': host, 'port': port})
profiler.setup('heat-api', host) profiler.setup('heat-api', host)
gmr.TextGuruMeditation.setup_autorun(version) gmr.TextGuruMeditation.setup_autorun(version)

View File

@ -28,7 +28,7 @@ from heat.common import wsgi
class API(wsgi.Router): class API(wsgi.Router):
""" """
WSGI router for Heat v1 ReST API requests. WSGI router for Heat v1 REST API requests.
""" """
def __init__(self, conf, **local_conf): def __init__(self, conf, **local_conf):

View File

@ -12,7 +12,7 @@
# under the License. # under the License.
""" """
Stack endpoint for Heat v1 ReST API. Stack endpoint for Heat v1 REST API.
""" """
import contextlib import contextlib

View File

@ -41,7 +41,7 @@ messaging.setup()
port = cfg.CONF.heat_api.bind_port port = cfg.CONF.heat_api.bind_port
host = cfg.CONF.heat_api.bind_host host = cfg.CONF.heat_api.bind_host
LOG.info(_LI('Starting Heat ReST API on %(host)s:%(port)s'), LOG.info(_LI('Starting Heat REST API on %(host)s:%(port)s'),
{'host': host, 'port': port}) {'host': host, 'port': port})
profiler.setup('heat-api', host) profiler.setup('heat-api', host)