Skip to content

Commit f9180ed

Browse files
author
Brendan W. McAdams
committed
JAVA-428: Disable read by tags until mongos supports it.
1 parent e0e41ed commit f9180ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/com/mongodb/ReadPreference.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ public String toString(){
5858

5959
public static ReadPreference SECONDARY = new SecondaryReadPreference();
6060

61-
public static ReadPreference withTags(Map<String, String> tags) {
61+
/*public static ReadPreference withTags(Map<String, String> tags) {
6262
return new TaggedReadPreference( tags );
6363
}
6464
6565
public static ReadPreference withTags( final DBObject tags ) {
6666
return new TaggedReadPreference( tags );
67-
}
67+
}*/
6868
}

0 commit comments

Comments
 (0)