Fixed a bug in docker volume driver generation code. Review: https://reviews.apache.org/r/50366
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b7724d9f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b7724d9f Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b7724d9f Branch: refs/heads/1.0.x Commit: b7724d9f1371cd0617cd6815a1adcf72240d9b0e Parents: 36144da Author: Jie Yu <yujie....@gmail.com> Authored: Fri Jul 22 16:21:52 2016 -0700 Committer: Jie Yu <yujie....@gmail.com> Committed: Fri Jul 22 16:41:01 2016 -0700 ---------------------------------------------------------------------- src/docker/docker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/b7724d9f/src/docker/docker.cpp ---------------------------------------------------------------------- diff --git a/src/docker/docker.cpp b/src/docker/docker.cpp index e96b4b6..880b25a 100755 --- a/src/docker/docker.cpp +++ b/src/docker/docker.cpp @@ -627,7 +627,7 @@ Future<Option<int>> Docker::run( } if (volumeDriver.isSome()) { - argv.push_back("--volume-driver=" + dockerInfo.volume_driver()); + argv.push_back("--volume-driver=" + volumeDriver.get()); } const string& image = dockerInfo.image();