diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-08-04 17:29:34 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-08-04 17:29:34 -0400 |
commit | ad27c92e01758c96e7ace4cba13574e0d97a761d (patch) | |
tree | 9ef9c726765d76b531c7090063900484b65ea4c8 /src/mongo/db/commands/clone_collection.cpp | |
parent | 931a227eedca19bc05fc6318996ffd3c6a2c6f4b (diff) | |
download | mongo-ad27c92e01758c96e7ace4cba13574e0d97a761d.tar.gz |
SERVER-24611 Implement ClientMetadata class
Diffstat (limited to 'src/mongo/db/commands/clone_collection.cpp')
-rw-r--r-- | src/mongo/db/commands/clone_collection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/clone_collection.cpp b/src/mongo/db/commands/clone_collection.cpp index 76ef1377673..a6539a5c179 100644 --- a/src/mongo/db/commands/clone_collection.cpp +++ b/src/mongo/db/commands/clone_collection.cpp @@ -148,7 +148,7 @@ public: Cloner cloner; unique_ptr<DBClientConnection> myconn; myconn.reset(new DBClientConnection()); - if (!myconn->connect(HostAndPort(fromhost), errmsg)) + if (!myconn->connect(HostAndPort(fromhost), StringData(), errmsg)) return false; cloner.setConnection(myconn.release()); |