From 2251af415be488bd6fbb968bb10d6498298d92b4 Mon Sep 17 00:00:00 2001 From: ricolin Date: Wed, 26 Aug 2015 09:33:17 +0800 Subject: [PATCH] unify REST word Representational State Transfer, by official definition the abbreviation should be *REST* not *ReST*. We should make it unified. Change-Id: Ia1e5c5145ab0db22fd9ff1393bf507648a31112b --- bin/heat-api | 4 ++-- heat/api/openstack/v1/__init__.py | 2 +- heat/api/openstack/v1/stacks.py | 2 +- heat/httpd/heat-api.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/heat-api b/bin/heat-api index 62fcf9a93a..cb6c5d7666 100755 --- a/bin/heat-api +++ b/bin/heat-api @@ -13,7 +13,7 @@ # under the License. """ -Heat API Server. An OpenStack ReST API to Heat. +Heat API Server. An OpenStack REST API to Heat. """ import eventlet @@ -60,7 +60,7 @@ if __name__ == '__main__': port = cfg.CONF.heat_api.bind_port 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}) profiler.setup('heat-api', host) gmr.TextGuruMeditation.setup_autorun(version) diff --git a/heat/api/openstack/v1/__init__.py b/heat/api/openstack/v1/__init__.py index 3f13e57323..3323b26232 100644 --- a/heat/api/openstack/v1/__init__.py +++ b/heat/api/openstack/v1/__init__.py @@ -28,7 +28,7 @@ from heat.common import wsgi 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): diff --git a/heat/api/openstack/v1/stacks.py b/heat/api/openstack/v1/stacks.py index b051d60b9a..d7a72238ff 100644 --- a/heat/api/openstack/v1/stacks.py +++ b/heat/api/openstack/v1/stacks.py @@ -12,7 +12,7 @@ # under the License. """ -Stack endpoint for Heat v1 ReST API. +Stack endpoint for Heat v1 REST API. """ import contextlib diff --git a/heat/httpd/heat-api.py b/heat/httpd/heat-api.py index 3c9cfeabf9..e3b8330db6 100644 --- a/heat/httpd/heat-api.py +++ b/heat/httpd/heat-api.py @@ -41,7 +41,7 @@ messaging.setup() port = cfg.CONF.heat_api.bind_port 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}) profiler.setup('heat-api', host)