Fix typos

This patch fixes several typos.

TrivialFix

Change-Id: I169e15a0fdfbbcbeb1f87e3022b01fbb9353df01
This commit is contained in:
daiki kato 2016-03-23 15:53:03 +09:00
parent d7fd4c76a0
commit ad6cdb6e10
10 changed files with 11 additions and 11 deletions

View File

@ -16,7 +16,7 @@ http://docs.ceph.com/docs/master/cephfs/). If you choose to use the kernel
client rather than the FUSE client, the share size limits set in Manila
may not be obeyed.
Prerequisities
Prerequisites
--------------
- A Ceph cluster with a filesystem configured (

View File

@ -265,7 +265,7 @@ class ViewBuilder(object):
return parse.urlunsplit(url_parts)
def update_versioned_resource_dict(self, request, resource_dict, resource):
"""Updates teh given resource dict for the given request version.
"""Updates the given resource dict for the given request version.
This method calls every method, that is applicable to the request
version, in _detail_version_modifiers.

View File

@ -167,7 +167,7 @@ class ShellCommands(object):
@args('--path', required=True, help='Script path')
def script(self, path):
"""Runs the script from the specifed path with flags set properly.
"""Runs the script from the specified path with flags set properly.
arguments: path
"""

View File

@ -170,7 +170,7 @@ CONF.register_opts(global_opts)
def verify_share_protocols():
"""Perfom verification of 'enabled_share_protocols'."""
"""Perform verification of 'enabled_share_protocols'."""
msg = None
supported_protocols = constants.SUPPORTED_SHARE_PROTOCOLS
data = dict(supported=', '.join(supported_protocols))

View File

@ -415,7 +415,7 @@ class IpRouteCommand(IpDeviceCommandBase):
return routes
def delete_net_route(self, cidr, device):
"""Deletes a route according to suplied CIDR and interface device.
"""Deletes a route according to supplied CIDR and interface device.
:param cidr: The network CIDR to be removed.
:param device: The network interface device to be removed.

View File

@ -980,7 +980,7 @@ class ShareDriver(object):
member_update_list - a list of dictionaries containing for every
member of the cgsnapshot. Each dict should contains values to be
updated for teh CGSnapshotMember in the database. This list may be
updated for the CGSnapshotMember in the database. This list may be
empty or None.
"""
raise NotImplementedError()

View File

@ -65,7 +65,7 @@ CONF.register_opts(cephfs_native_opts)
class CephFSNativeDriver(driver.ShareDriver,):
"""Driver for the Ceph Filsystem.
"""Driver for the Ceph Filesystem.
This driver is 'native' in the sense that it exposes a CephFS filesystem
for use directly by guests, with no intermediate layer like NFS.

View File

@ -377,7 +377,7 @@ def numreduct(vers):
def _mount_gluster_vol(execute, gluster_export, mount_path, ensure=False):
"""Mount a GlusterFS volume at the specified mount path.
:param execute: command exectution function
:param execute: command execution function
:param gluster_export: GlusterFS export to mount
:param mount_path: path to mount at
:param ensure: boolean to allow remounting a volume with a warning
@ -398,7 +398,7 @@ def _mount_gluster_vol(execute, gluster_export, mount_path, ensure=False):
def _umount_gluster_vol(execute, mount_path):
"""Unmount a GlusterFS volume at the specified mount path.
:param execute: command exectution function
:param execute: command execution function
:param mount_path: path where volume is mounted
"""

View File

@ -15,7 +15,7 @@
Ganesha Admin Utilities
Ganesha NFS does not provide many tools for automating the process of creating
and managing export defintions. This module provides utilities to help parse
and managing export definitions. This module provides utilities to help parse
a specified ganesha config file and return a map containing the export
definitions and attributes. A method republishing updated export definitions
is also provided. And there are methods for requesting the ganesha server

View File

@ -149,7 +149,7 @@ class ManilaMigrationsCheckers(test_migrations.WalkVersionsMixin,
def test_walk_versions(self):
"""Walks all version scripts for each tested database.
While walking, ensur that there are no errors in the version
While walking, ensure that there are no errors in the version
scripts for each engine.
"""
with mock.patch('manila.db.sqlalchemy.api.get_engine',