spelling fixed.
Change-Id: I2c81f5164e835b7271f87396b36b0d5fc7cac372
This commit is contained in:
parent
2d56cf13a5
commit
909bb52290
@ -371,7 +371,7 @@ def generate_spark_env_configs(cluster):
|
||||
return '\n'.join(configs)
|
||||
|
||||
|
||||
# workernames need to be a list of woker names
|
||||
# workernames need to be a list of worker names
|
||||
def generate_spark_slaves_configs(workernames):
|
||||
return '\n'.join(workernames)
|
||||
|
||||
|
@ -255,7 +255,7 @@ class _NFSMounter(_ShareHandler):
|
||||
remote.execute_command(mount_command, run_as_root=True)
|
||||
|
||||
def unmount_from_instance(self, remote, share_info):
|
||||
"""Unounts the share from the instance."""
|
||||
"""Unmounts the share from the instance."""
|
||||
local_path = self._get_path(share_info)
|
||||
|
||||
unmount_command = self._UNMOUNT_COMMAND % local_path
|
||||
|
@ -543,7 +543,7 @@ class JobExecutionTest(test_base.ConductorManagerTestCase):
|
||||
my_sample_job_exec['info'] = {'status': 'KiLLeD'}
|
||||
self.api.job_execution_create(ctx, my_sample_job_exec)
|
||||
|
||||
# Search only with job exeuction fields (finds both)
|
||||
# Search only with job execution fields (finds both)
|
||||
lst = self.api.job_execution_get_all(ctx, **{'return_code': 1})
|
||||
self.assertEqual(2, len(lst))
|
||||
|
||||
|
@ -87,7 +87,7 @@ class ConfigHelperUtilsTest(test_base.SaharaTestCase):
|
||||
mod_swift_vals['fs.swift.service.sahara.tenant'] = 'fred'
|
||||
self.assertDictContainsSubset(mod_swift_vals, properties)
|
||||
|
||||
# Make sure that swift confgs are left out if not enabled
|
||||
# Make sure that swift configs are left out if not enabled
|
||||
c = c_helper.generate_xml_configs(
|
||||
{'HDFS': {'fs.swift.service.sahara.tenant': 'fred'},
|
||||
'general': {'Enable Swift': False}},
|
||||
|
Loading…
Reference in New Issue
Block a user