From 25add7b27d7f3f8aa167f1377bfeeb42844512ca Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Wed, 7 Apr 2010 10:15:34 -0400 Subject: [PATCH] fix mongos test --- s/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s/config.cpp b/s/config.cpp index c3c3668c5ab..3eff56f4ec0 100644 --- a/s/config.cpp +++ b/s/config.cpp @@ -551,7 +551,7 @@ namespace mongo { a << "abc.foo" << fromjson( "{ 'key' : { 'a' : 1 } , 'unique' : false }" ); a << "abc.bar" << fromjson( "{ 'key' : { 'kb' : -1 } , 'unique' : true }" ); - b.appendArray( "sharded" , a.obj() ); + b.append( "sharded" , a.obj() ); DBConfig c; testInOut( c , b.obj() );