]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
misc: Fix bug in calling function remote_mktemp()
authorSam Lang <sam.lang@inktank.com>
Mon, 15 Apr 2013 21:16:34 +0000 (16:16 -0500)
committerSam Lang <sam.lang@inktank.com>
Mon, 15 Apr 2013 21:16:34 +0000 (16:16 -0500)
Changed the name of the function to get a remote temporary filename,
need to update all the locations where it gets called.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
teuthology/misc.py

index 51077695f0b89831838b0d0a878d12d44ebadd7c..12351aebf5c190ff7fb990bbabca3bc4ad4224d3 100644 (file)
@@ -391,7 +391,7 @@ def remove_lines_from_file(remote, path, line_is_valid_test, string_to_test_for)
     # get a temp file path on the remote host to write to, 
     # we don't want to blow away the remote file and then have the 
     # network drop out
-    temp_file_path = get_remote_tempnam(remote)
+    temp_file_path = remote_mktemp(remote)
 
     # write out the data to a temp file
     write_file(remote, temp_file_path, out_data)