more typos after disabling case-sensitivity

This commit is contained in:
Chris Rebert 2014-08-11 10:57:41 -07:00
parent 177c168a21
commit b7ce0dbe60
4 changed files with 6 additions and 6 deletions

View File

@ -786,7 +786,7 @@ def destroy(name, call=None):
response = conn.createCancelServerTicket(
{
'id': node['id'],
'reason': 'Salt Cloud Hardware Server Cancelation',
'reason': 'Salt Cloud Hardware Server Cancellation',
'content': 'Please cancel this server',
'cancelAssociatedItems': True,
'attachmentType': 'HARDWARE',

View File

@ -77,7 +77,7 @@ def present(name,
ret = {'name': name,
'changes': {},
'result': True,
'comment': 'Extention {0} is already present'.format(name)}
'comment': 'Extension {0} is already present'.format(name)}
db_args = {
'maintenance_db': maintenance_db,
'runas': user,

View File

@ -28,7 +28,7 @@ def parse():
'--sock-dir',
dest='sock_dir',
default='/var/run/salt',
help=('Staticly define the directory holding the salt unix '
help=('Statically define the directory holding the salt unix '
'sockets for communication'))
parser.add_option('-n',
'--node',
@ -40,7 +40,7 @@ def parse():
parser.add_option('-f',
'--func_count',
default='',
help=('Retun a count of the number of minons which have '
help=('Return a count of the number of minions which have '
'replied to a job with a given func.'))
options, args = parser.parse_args()

View File

@ -367,13 +367,13 @@ class PostgresExtensionTestCase(TestCase):
ret = postgres_extension.present('foo')
self.assertEqual(
ret,
{'comment': 'Extention foo is already present',
{'comment': 'Extension foo is already present',
'changes': {}, 'name': 'foo', 'result': True}
)
ret = postgres_extension.present('foo')
self.assertEqual(
ret,
{'comment': 'The extension foo has been upgradeed',
{'comment': 'The extension foo has been upgraded',
'changes': {}, 'name': 'foo', 'result': True}
)