Fix some typos
Change-Id: I87f3328a13767367e6ade54217a226f6b660975a
This commit is contained in:
parent
99de956f35
commit
cc0b2ee68b
|
@ -146,7 +146,7 @@ def main(argv=sys.argv):
|
||||||
log.info(content)
|
log.info(content)
|
||||||
response['deploy_{0}'.format(i)] = content
|
response['deploy_{0}'.format(i)] = content
|
||||||
|
|
||||||
# returncode of 2 means there were successfull changes
|
# returncode of 2 means there were successful changes
|
||||||
if subproc.returncode in (0, 2):
|
if subproc.returncode in (0, 2):
|
||||||
returncode = 0
|
returncode = 0
|
||||||
log.info('Completed %s' % fn)
|
log.info('Completed %s' % fn)
|
||||||
|
|
|
@ -91,7 +91,7 @@ def main(argv=sys.argv):
|
||||||
log.info('Results: %s' % ret)
|
log.info('Results: %s' % ret)
|
||||||
output = yaml.safe_dump(ret['return'])
|
output = yaml.safe_dump(ret['return'])
|
||||||
|
|
||||||
# returncode of 0 means there were successfull changes
|
# returncode of 0 means there were successful changes
|
||||||
if ret['retcode'] == 0:
|
if ret['retcode'] == 0:
|
||||||
log.info('Completed applying salt state %s' % state_file)
|
log.info('Completed applying salt state %s' % state_file)
|
||||||
stdout = output
|
stdout = output
|
||||||
|
|
|
@ -185,7 +185,7 @@ class HeatConfigTest(common.RunScriptTest):
|
||||||
self.assertEqual(self.outputs[hook],
|
self.assertEqual(self.outputs[hook],
|
||||||
self.json_from_file(stdout_path))
|
self.json_from_file(stdout_path))
|
||||||
|
|
||||||
# clean up files in preperation for second run
|
# clean up files in preparation for second run
|
||||||
os.remove(stdin_path)
|
os.remove(stdin_path)
|
||||||
os.remove(stdout_path)
|
os.remove(stdout_path)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue