mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
remote: hdfs: fix typos
This commit is contained in:
+2
-2
@@ -123,7 +123,7 @@ class RemoteHDFS(RemoteBase):
|
||||
user=to_info["user"],
|
||||
)
|
||||
|
||||
tmp_file = tmp_fname(to_info["user"])
|
||||
tmp_file = tmp_fname(to_info["path"])
|
||||
|
||||
self.hadoop_fs(
|
||||
"copyFromLocal {} {}".format(from_info["path"], tmp_file),
|
||||
@@ -160,7 +160,7 @@ class RemoteHDFS(RemoteBase):
|
||||
if not os.path.exists(dname):
|
||||
os.makedirs(dname)
|
||||
|
||||
tmp_file = tmp_fname(to_info["user"])
|
||||
tmp_file = tmp_fname(to_info["path"])
|
||||
|
||||
self.hadoop_fs(
|
||||
"copyToLocal {} {}".format(from_info["path"], tmp_file),
|
||||
|
||||
Reference in New Issue
Block a user