You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by tn...@apache.org on 2014/12/01 19:41:48 UTC

mesos git commit: Fix extra space in fetcher code.

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 <tn...@gmail.com>
Authored: Mon Dec 1 10:43:01 2014 -0800
Committer: Timothy Chen <tn...@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()) {