mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tnac...@apache.org
Subject mesos git commit: Fix extra space in fetcher code.
Date Mon, 01 Dec 2014 18:41:48 GMT
Repository: mesos
Updated Branches:
  refs/heads/master 0a07f365f -> dc9cc6618


Fix extra space in fetcher code.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dc9cc661
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dc9cc661
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/dc9cc661

Branch: refs/heads/master
Commit: dc9cc6618d90111ca4ccfb806d6000e8e473ddfb
Parents: 0a07f36
Author: Timothy Chen <tnachen@gmail.com>
Authored: Mon Dec 1 10:43:01 2014 -0800
Committer: Timothy Chen <tnachen@gmail.com>
Committed: Mon Dec 1 10:43:01 2014 -0800

----------------------------------------------------------------------
 src/launcher/fetcher.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/dc9cc661/src/launcher/fetcher.cpp
----------------------------------------------------------------------
diff --git a/src/launcher/fetcher.cpp b/src/launcher/fetcher.cpp
index 1dd39b1..2f54d9e 100644
--- a/src/launcher/fetcher.cpp
+++ b/src/launcher/fetcher.cpp
@@ -127,7 +127,7 @@ Try<string> fetchWithNet(
     return Error("Malformed URI");
   }
 
-  path =  path::join(directory, path.substr(path.find_last_of("/") + 1));
+  path = path::join(directory, path.substr(path.find_last_of("/") + 1));
   LOG(INFO) << "Downloading '" << uri << "' to '" << path <<
"'";
   Try<int> code = net::download(uri, path);
   if (code.isError()) {


Mime
View raw message