Fix some typo in the files

"formated" should be "formatted"
"acccess" should be "access"

Change-Id: I8f722bd85d061319958360c9758c70905bc5565f
This commit is contained in:
zhangyanxian 2016-08-01 08:34:07 +00:00
parent 67940e90a6
commit d55c3dedea
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ class Manager(manager.Manager):
return service.CouchDBAdmin().get_user(username, hostname)
def grant_access(self, context, username, hostname, databases):
LOG.debug("Granting acccess.")
LOG.debug("Granting access.")
return service.CouchDBAdmin().grant_access(username, databases)
def revoke_access(self, context, username, hostname, database):

View File

@ -73,7 +73,7 @@ class VolumeDevice(object):
def _check_format(self):
"""Checks that an unmounted volume is formatted."""
cmd = "sudo dumpe2fs %s" % self.device_path
LOG.debug("Checking whether %s is formated: %s." %
LOG.debug("Checking whether %s is formatted: %s." %
(self.device_path, cmd))
child = pexpect.spawn(cmd)