Skip to content

Commit

Permalink
Make createUser argument order consistent
Browse files Browse the repository at this point in the history
Signed-off-by: kay <[email protected]>
  • Loading branch information
bjori authored and kay-kim committed Aug 28, 2014
1 parent 0e8d21a commit f9c8373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/reference/method/db.createUser.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ sharded clusters, such as to the balancer setting.
pwd: "password",
roles:
[
"clusterAdmin",
{ db: "config", role: "readWrite" }
{ role: "readWrite", db: "config" },
"clusterAdmin"
]
}
)

0 comments on commit f9c8373

Please sign in to comment.