Fix typo in Zun

Fix typo in Zun

Change-Id: I584e9052baed5bcbd07ae417c7b7832c9cd3c1fd
Signed-off-by: Andy Yan <yanchao3@lenovo.com>
This commit is contained in:
Andy Yan 2017-01-22 11:27:39 +08:00
parent 572e936e63
commit 856bb454ba
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
vagrant-devstack-zun vagrant-devstack-zun
======================= =======================
A Vagrant based devstack setup for zun. A Vagrant-based devstack setup for zun.
Steps to try vagrant image: Steps to try vagrant image:
1. Install virtual-box and vagrant on your local machine. 1. Install virtual-box and vagrant on your local machine.
2. Git clone zun repository. 2. Git clone zun repository.

View File

@ -82,7 +82,7 @@ vol-name, vol-size fields.
default attributes like storage engine Cinder, Cinder endpoint etc. default attributes like storage engine Cinder, Cinder endpoint etc.
* We also need to configure Cinder endpoint in Fuxi conf file. * We also need to configure Cinder endpoint in Fuxi conf file.
* We can use same implementation for Flocker also as it supports Cinder. * We can use same implementation for Flocker also as it supports Cinder.
* I think if we can create seperate CinderDriver which calls from Volume * I think if we can create separate CinderDriver which calls from Volume
volume driver. This approach enables way to implement multiple storages volume driver. This approach enables way to implement multiple storages
supports in the future and we can plug-in multiple storage implementation. supports in the future and we can plug-in multiple storage implementation.

View File

@ -338,7 +338,7 @@ class Manager(object):
try: try:
self.driver.update(container) self.driver.update(container)
except exception.DockerError as e: except exception.DockerError as e:
LOG.error(_LE("Error occured while calling docker API: %s"), LOG.error(_LE("Error occurred while calling docker API: %s"),
six.text_type(e)) six.text_type(e))
raise raise

View File

@ -87,7 +87,7 @@ def search_image(context, image_name, exact_match):
exact_match=exact_match) exact_match=exact_match)
images.extend(imgs) images.extend(imgs)
except Exception as e: except Exception as e:
LOG.exception(_LE('Unknown exception occured while searching ' LOG.exception(_LE('Unknown exception occurred while searching '
'for image: %s'), six.text_type(e)) 'for image: %s'), six.text_type(e))
raise exception.ZunException(six.text_type(e)) raise exception.ZunException(six.text_type(e))
return images return images