Fixing a case issue.
This commit is contained in:
parent
086d5e0357
commit
1430df2fa1
@ -122,7 +122,7 @@ module Mongo
|
|||||||
|
|
||||||
# Copys the database +from+ on +host+ to +to+ on the executing server.
|
# Copys the database +from+ on +host+ to +to+ on the executing server.
|
||||||
# +host+ is optional and will use localhost host if no value is provided.
|
# +host+ is optional and will use localhost host if no value is provided.
|
||||||
def copyDatabase( from, to, host="localhost" )
|
def copy_database( from, to, host="localhost" )
|
||||||
oh = OrderedHash.new
|
oh = OrderedHash.new
|
||||||
oh[:copydb]= 1
|
oh[:copydb]= 1
|
||||||
oh[:fromhost] = host
|
oh[:fromhost] = host
|
||||||
|
Loading…
Reference in New Issue
Block a user