Fix typo and grammar in docstring only
Change-Id: I1e34ada679c56b996c6aa4652b43d1652f3c375f
This commit is contained in:
parent
2a45c7570f
commit
aee0a29733
|
@ -319,7 +319,7 @@ class Server(base.Resource):
|
|||
|
||||
def remove_security_group(self, security_group):
|
||||
"""
|
||||
Remova a security group from an instance.
|
||||
Remove a security group from an instance.
|
||||
"""
|
||||
self.manager.remove_security_group(self, security_group)
|
||||
|
||||
|
@ -464,7 +464,7 @@ class ServerManager(local_base.BootingManagerWithFind):
|
|||
"""
|
||||
Get password for an instance
|
||||
|
||||
Requires that openssl in installed and in the path
|
||||
Requires that openssl is installed and in the path
|
||||
|
||||
:param server: The :class:`Server` (or its ID) to add an IP to.
|
||||
:param private_key: The private key to decrypt password
|
||||
|
@ -821,20 +821,20 @@ class ServerManager(local_base.BootingManagerWithFind):
|
|||
|
||||
def add_security_group(self, server, security_group):
|
||||
"""
|
||||
Add a Security Group to a instance
|
||||
Add a Security Group to an instance
|
||||
|
||||
:param server: ID of the instance.
|
||||
:param security_grou: The name of security group to add.
|
||||
:param security_group: The name of security group to add.
|
||||
|
||||
"""
|
||||
self._action('addSecurityGroup', server, {'name': security_group})
|
||||
|
||||
def remove_security_group(self, server, security_group):
|
||||
"""
|
||||
Add a Security Group to a instance
|
||||
Add a Security Group to an instance
|
||||
|
||||
:param server: ID of the instance.
|
||||
:param security_grou: The name of security group to remove.
|
||||
:param security_group: The name of security group to remove.
|
||||
|
||||
"""
|
||||
self._action('removeSecurityGroup', server, {'name': security_group})
|
||||
|
|
|
@ -7,7 +7,7 @@ from novaclient import base
|
|||
|
||||
class Usage(base.Resource):
|
||||
"""
|
||||
Usage contains infomartion about a tenants physical resource usage
|
||||
Usage contains information about a tenant's physical resource usage
|
||||
"""
|
||||
def __repr__(self):
|
||||
return "<ComputeUsage>"
|
||||
|
|
Loading…
Reference in New Issue