diff --git a/shell/db.js b/shell/db.js index 59cc5e80b9a..11401f83d69 100644 --- a/shell/db.js +++ b/shell/db.js @@ -176,7 +176,7 @@ DB.prototype.cloneCollection = function(from, collection, query) { collection = this._name + "." + collection; query = query || {}; //this.resetIndexCache(); - return this._dbCommand( { cloneCollection:collection, fromhost:from, query:query } ); + return this._dbCommand( { cloneCollection:collection, from:from, query:query } ); }